From b66907b65d6be323b815bab03e32b2af64f3e2b0 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 25 Feb 2007 13:45:45 +0000 Subject: more reliable fix for handling ppp git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6356 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/hotplug.d/net/10-net | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'package/base-files/files') 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")" -- cgit v1.2.3