summaryrefslogtreecommitdiffstats
path: root/package/ppp
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-25 11:53:50 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-25 11:53:50 +0000
commit37840396d601a725bd29f264946f5a14dc7d21d0 (patch)
tree71590618e4b45ffb8d10d198fbd6fcfb3eae4518 /package/ppp
parent3d6c5f633461f2713e0aff0d22462af41fe84b86 (diff)
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
Diffstat (limited to 'package/ppp')
-rw-r--r--package/ppp/files/ppp.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/ppp/files/ppp.sh b/package/ppp/files/ppp.sh
index 0bd75fc0a..5eb007da1 100644
--- a/package/ppp/files/ppp.sh
+++ b/package/ppp/files/ppp.sh
@@ -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() {