diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-11 16:13:25 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-11 16:13:25 +0000 |
commit | 52185b8adac058188fdff053ee561d07da6d8126 (patch) | |
tree | f7ef57b0ca9ec1758175e64d9a06223ffd7fbb5d /openwrt/package | |
parent | 5ece0782781b924c1c5e972fbbce18cde3fc19ce (diff) |
Fixed network autoconfiguration as explained in #200, fixes #200
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2912 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package')
-rw-r--r-- | openwrt/package/base-files/default/etc/hotplug.d/net/10-net | 3 |
1 files changed, 3 insertions, 0 deletions
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 } |