openwrt/package/base-files/files/etc/hotplug.d/iface/00-netstate

4 lines
74 B
Plaintext

[ ifup = "$ACTION" ] && {
uci set "/var/state/network.$INTERFACE.up=1"
}