From: Felix Fietkau Date: Sun, 25 Feb 2007 11:53:50 +0000 (+0000) Subject: fix ppp defaultroute issues (based on patch from #1386, fixes #1181) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=644af0aebf6e8cb0a2212a00f488a6400faf8e88;p=openwrt%2Fstaging%2Fansuel.git fix ppp defaultroute issues (based on patch from #1386, fixes #1181) SVN-Revision: 6354 --- 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() {