From 37840396d601a725bd29f264946f5a14dc7d21d0 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 25 Feb 2007 11:53:50 +0000 Subject: 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 --- package/ppp/files/ppp.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/ppp') 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() { -- cgit v1.2.3