diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-02-25 11:53:50 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-02-25 11:53:50 +0000 |
commit | 4d6e25d549839bd67d9382088306e6dd10f65924 (patch) | |
tree | 71590618e4b45ffb8d10d198fbd6fcfb3eae4518 | |
parent | 33458c350c997c2ecd5fd5ce0ffb571c8ec02a23 (diff) | |
download | upstream-4d6e25d549839bd67d9382088306e6dd10f65924.tar.gz upstream-4d6e25d549839bd67d9382088306e6dd10f65924.tar.bz2 upstream-4d6e25d549839bd67d9382088306e6dd10f65924.zip |
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
-rw-r--r-- | package/ppp/files/ppp.sh | 4 |
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() { |