1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 00:14:05 +02:00

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
This commit is contained in:
nbd 2007-02-25 11:53:50 +00:00
parent 3d6c5f6334
commit 37840396d6

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