summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-25 13:45:45 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-25 13:45:45 +0000
commit92feed28d882bf9dc75f59e2ed183e84362935d9 (patch)
treec77b7134f8224f6de1935e268f475ed05719e895 /package/base-files/files/etc
parent43580f1b1ddc263f4f218c08f56df6ca1fa74afb (diff)
downloadmtk-20170518-92feed28d882bf9dc75f59e2ed183e84362935d9.zip
mtk-20170518-92feed28d882bf9dc75f59e2ed183e84362935d9.tar.gz
mtk-20170518-92feed28d882bf9dc75f59e2ed183e84362935d9.tar.bz2
more reliable fix for handling ppp
SVN-Revision: 6356
Diffstat (limited to 'package/base-files/files/etc')
-rw-r--r--package/base-files/files/etc/hotplug.d/net/10-net5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/base-files/files/etc/hotplug.d/net/10-net b/package/base-files/files/etc/hotplug.d/net/10-net
index 9b72338..77eb6da 100644
--- a/package/base-files/files/etc/hotplug.d/net/10-net
+++ b/package/base-files/files/etc/hotplug.d/net/10-net
@@ -3,6 +3,11 @@
include /lib/network
addif() {
+ # PPP devices are configured by pppd, no need to run setup_interface here
+ case "$INTERFACE" in
+ ppp*) return 0;;
+ esac
+
scan_interfaces
local cfg="$(find_config "$INTERFACE")"