projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f1a36d
)
netifd: allow ppp based proto handlers to override the connect/disconnect script
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 27 Oct 2011 20:28:33 +0000
(20:28 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 27 Oct 2011 20:28:33 +0000
(20:28 +0000)
SVN-Revision: 28630
package/netifd/files/lib/netifd/proto/ppp.sh
patch
|
blob
|
history
diff --git
a/package/netifd/files/lib/netifd/proto/ppp.sh
b/package/netifd/files/lib/netifd/proto/ppp.sh
index d79a897992d4f7ba3177ad1a5afac8ba55062cae..4fe80e9f6afac4e7da0626415aa8457f878c3e57 100755
(executable)
--- a/
package/netifd/files/lib/netifd/proto/ppp.sh
+++ b/
package/netifd/files/lib/netifd/proto/ppp.sh
@@
-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 \