mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
fix up the network ifname in the network state when receiving iface/ifup events
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13399 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4dfe6c0658
commit
a8e1d247ac
@ -1,3 +1,4 @@
|
||||
[ ifup = "$ACTION" ] && {
|
||||
uci_set_state network "$INTERFACE" up 1
|
||||
[ -n "$DEVICE" ] && uci_set_state network "$INTERFACE" ifname "$DEVICE"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user