diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-07-23 02:50:03 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-07-23 02:50:03 +0000 |
commit | da3f65f28c40165298b29ce3abce753889b6a41c (patch) | |
tree | c802fa3f7cc858bed8eee50656a72ad50faf8f94 /package | |
parent | 35d116c85b30505782bf742fee4e192755d7241a (diff) | |
download | upstream-da3f65f28c40165298b29ce3abce753889b6a41c.tar.gz upstream-da3f65f28c40165298b29ce3abce753889b6a41c.tar.bz2 upstream-da3f65f28c40165298b29ce3abce753889b6a41c.zip |
add pppd options patch from #2114
SVN-Revision: 8116
Diffstat (limited to 'package')
-rw-r--r-- | package/ppp/files/ppp.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/ppp/files/ppp.sh b/package/ppp/files/ppp.sh index 0d0941fda5..507f453fcd 100644 --- a/package/ppp/files/ppp.sh +++ b/package/ppp/files/ppp.sh @@ -24,6 +24,7 @@ start_pppd() { config_get connect "$cfg" connect config_get disconnect "$cfg" disconnect + config_get pppd_options "$cfg" pppd_options interval="${keepalive##*[, ]}" [ "$interval" != "$keepalive" ] || interval=5 @@ -40,7 +41,8 @@ start_pppd() { linkname "$cfg" \ ipparam "$cfg" \ ${connect:+connect "$connect"} \ - ${disconnect:+disconnect "$disconnect"} + ${disconnect:+disconnect "$disconnect"} \ + ${pppd_options} lock -u "/var/lock/ppp-${cfg}" } |