fix ppp defaultroute issues (based on patch from #1386, fixes #1181)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 25 Feb 2007 11:53:50 +0000 (11:53 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 25 Feb 2007 11:53:50 +0000 (11:53 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6354 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/ppp/files/ppp.sh

index 0bd75fc..5eb007d 100644 (file)
@@ -3,6 +3,10 @@ scan_ppp() {
        pppdev="${pppdev:-0}"
        config_set "$1" ifname "ppp$pppdev"
        config_set "$1" unit "$pppdev"
        pppdev="${pppdev:-0}"
        config_set "$1" ifname "ppp$pppdev"
        config_set "$1" unit "$pppdev"
+       
+       # set 'auto' to 0, so that hotplug does not attempt to
+       # reconfigure an interface that is managed by pppd
+       config_set "$1" auto 0
 }
 
 start_pppd() {
 }
 
 start_pppd() {
This page took 0.024815 seconds and 4 git commands to generate.