add pppd options patch from #2114
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 23 Jul 2007 02:50:03 +0000 (02:50 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 23 Jul 2007 02:50:03 +0000 (02:50 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8116 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/ppp/files/ppp.sh

index 0d0941f..507f453 100644 (file)
@@ -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}"
 }
This page took 0.027257 seconds and 4 git commands to generate.