aboutsummaryrefslogtreecommitdiffstats
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
commitb66907b65d6be323b815bab03e32b2af64f3e2b0 (patch)
treec1b516342537403fd24e25da08a09702565388c9 /package/base-files/files/etc
parent30c55d788e295359cb7f16c19906b82b12504704 (diff)
downloadupstream-b66907b65d6be323b815bab03e32b2af64f3e2b0.tar.gz
upstream-b66907b65d6be323b815bab03e32b2af64f3e2b0.tar.bz2
upstream-b66907b65d6be323b815bab03e32b2af64f3e2b0.zip
more reliable fix for handling ppp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6356 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 9b72338ce8..77eb6da9d4 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")"