mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 18:23:09 +02:00
netifd: allow ppp based proto handlers to override the connect/disconnect script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28630 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
46a8296e03
commit
0237747465
@ -54,8 +54,8 @@ ppp_generic_setup() {
|
||||
json_get_var username username
|
||||
json_get_var password password
|
||||
|
||||
json_get_var connect connect
|
||||
json_get_var disconnect disconnect
|
||||
[ -n "$connect" ] || json_get_var connect connect
|
||||
[ -n "$disconnect" ] || json_get_var disconnect disconnect
|
||||
json_get_var pppd_options pppd_options
|
||||
|
||||
proto_run_command "$config" /usr/sbin/pppd \
|
||||
|
Loading…
Reference in New Issue
Block a user