aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-25 11:53:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-25 11:53:50 +0000
commit644af0aebf6e8cb0a2212a00f488a6400faf8e88 (patch)
tree3b5813288b6ac6f90355a647591206101b4a37f1 /package/ppp
parent9edce6b311fdd29bd1db932ad9de808eff59bd41 (diff)
downloadupstream-644af0aebf6e8cb0a2212a00f488a6400faf8e88.tar.gz
upstream-644af0aebf6e8cb0a2212a00f488a6400faf8e88.tar.bz2
upstream-644af0aebf6e8cb0a2212a00f488a6400faf8e88.zip
fix ppp defaultroute issues (based on patch from #1386, fixes #1181)
SVN-Revision: 6354
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 0bd75fc0a7..5eb007da1f 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() {