diff options
Diffstat (limited to 'package/base-files/default/etc/hotplug.d/net/10-net')
-rw-r--r-- | package/base-files/default/etc/hotplug.d/net/10-net | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/base-files/default/etc/hotplug.d/net/10-net b/package/base-files/default/etc/hotplug.d/net/10-net index 187b937c6..b63eba090 100644 --- a/package/base-files/default/etc/hotplug.d/net/10-net +++ b/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 } |