fix ppp defaultroute issues (based on patch from #1386, fixes #1181)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6354 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2007-02-25 11:53:50 +00:00
parent 33458c350c
commit 4d6e25d549
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,10 @@ scan_ppp() {
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() {