fix up the network ifname in the network state when receiving iface/ifup events

SVN-Revision: 13399
v19.07.3_mercusys_ac12_duma
Felix Fietkau 16 years ago
parent 7ac69660fe
commit 5cc72a2874

@ -1,3 +1,4 @@
[ ifup = "$ACTION" ] && {
uci_set_state network "$INTERFACE" up 1
[ -n "$DEVICE" ] && uci_set_state network "$INTERFACE" ifname "$DEVICE"
}

Loading…
Cancel
Save