fce5472cf2d9f7d547484bf5efcd7648866416df
[openwrt/svn-archive/archive.git] / package / base-files / files / etc / hotplug.d / iface / 00-netstate
1 [ ifup = "$ACTION" ] && {
2 uci set "/var/state/network.$INTERFACE.up=1"
3 [ -z "$DEVICE" ] || {
4 uci set "/var/state/network.$INTERFACE.ifname=$DEVICE"
5 }
6 }