From 644af0aebf6e8cb0a2212a00f488a6400faf8e88 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 25 Feb 2007 11:53:50 +0000 Subject: [PATCH] fix ppp defaultroute issues (based on patch from #1386, fixes #1181) SVN-Revision: 6354 --- package/ppp/files/ppp.sh | 4 ++++ 1 file changed, 4 insertions(+) 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() {