fix a race condition with dynamic interfaces and firewalling
[openwrt/staging/wigyori.git] / package / base-files / files / etc / hotplug.d / iface / 00-netstate
index fce5472cf2d9f7d547484bf5efcd7648866416df..6bf621437508fe77b02103fe944c455862269cf1 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"
-       }
 }