mirror of
https://github.com/openwrt/openwrt.git
synced 2025-12-29 12:00:01 +04:00
fix up the network ifname in the network state when receiving iface/ifup events
SVN-Revision: 13399
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
[ ifup = "$ACTION" ] && {
|
||||
uci_set_state network "$INTERFACE" up 1
|
||||
[ -n "$DEVICE" ] && uci_set_state network "$INTERFACE" ifname "$DEVICE"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user