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

SVN-Revision: 6354
This commit is contained in:
Felix Fietkau 2007-02-25 11:53:50 +00:00
parent 9edce6b311
commit 644af0aebf

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() {