summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {