fix static routes for dynamic interfaces (#1446)
[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.046138 seconds and 5 git commands to generate.