fix a race condition with dynamic interfaces and firewalling
[openwrt/openwrt.git] / package / base-files / files / etc / hotplug.d / iface / 00-netstate
index fce5472..6bf6214 100644 (file)
@@ -1,6 +1,3 @@
 [ ifup = "$ACTION" ] && {
        uci set "/var/state/network.$INTERFACE.up=1"
-       [ -z "$DEVICE" ] || {
-               uci set "/var/state/network.$INTERFACE.ifname=$DEVICE"
-       }
 }