diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-23 02:50:03 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-23 02:50:03 +0000 |
commit | b8e8a507ad892c47765d86fa80125058d7b3233c (patch) | |
tree | feadb0276fd1b19b8a0159d31665102ed8fe3716 /package | |
parent | 263c7a706996b2991462fdc47146cb9a7a6ac19f (diff) |
add pppd options patch from #2114
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8116 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 0d0941fda..507f453fc 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}" } |