keep track of the network interface states (stored in uci format in /var/state/networ...
[openwrt.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 }
This page took 0.042984 seconds and 5 git commands to generate.