netifd: allow ppp based proto handlers to override the connect/disconnect script
SVN-Revision: 28630
This commit is contained in:
parent
1138f84e6c
commit
b3d7c7b1b5
@ -54,8 +54,8 @@ ppp_generic_setup() {
|
|||||||
json_get_var username username
|
json_get_var username username
|
||||||
json_get_var password password
|
json_get_var password password
|
||||||
|
|
||||||
json_get_var connect connect
|
[ -n "$connect" ] || json_get_var connect connect
|
||||||
json_get_var disconnect disconnect
|
[ -n "$disconnect" ] || json_get_var disconnect disconnect
|
||||||
json_get_var pppd_options pppd_options
|
json_get_var pppd_options pppd_options
|
||||||
|
|
||||||
proto_run_command "$config" /usr/sbin/pppd \
|
proto_run_command "$config" /usr/sbin/pppd \
|
||||||
|
Loading…
Reference in New Issue
Block a user