1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-20 09:17:11 +02:00
openwrt-xburst/package/base-files/files/etc/hotplug.d/iface/00-netstate

7 lines
157 B
Plaintext
Raw Normal View History

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