From 52185b8adac058188fdff053ee561d07da6d8126 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 11 Jan 2006 16:13:25 +0000 Subject: Fixed network autoconfiguration as explained in #200, fixes #200 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2912 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/base-files/default/etc/hotplug.d/net/10-net | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openwrt/package/base-files/default/etc') diff --git a/openwrt/package/base-files/default/etc/hotplug.d/net/10-net b/openwrt/package/base-files/default/etc/hotplug.d/net/10-net index 187b937c60..b63eba090b 100644 --- a/openwrt/package/base-files/default/etc/hotplug.d/net/10-net +++ b/openwrt/package/base-files/default/etc/hotplug.d/net/10-net @@ -1,6 +1,9 @@ #!/bin/sh setup_eth() { + for part in $(nvram get unused_ifnames); do + [ "$part" = "$INTERFACE" ] && return 0 + done [ -f /proc/net/wl0 ] && { lsmod | grep wlcompat >&- || insmod wlcompat } -- cgit v1.2.3