diff options
Diffstat (limited to 'package/base-files/files/etc')
-rw-r--r-- | package/base-files/files/etc/hotplug.d/iface/00-netstate | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/etc/hotplug.d/iface/00-netstate b/package/base-files/files/etc/hotplug.d/iface/00-netstate index f215d29b53..03285de18f 100644 --- a/package/base-files/files/etc/hotplug.d/iface/00-netstate +++ b/package/base-files/files/etc/hotplug.d/iface/00-netstate @@ -1,3 +1,4 @@ [ ifup = "$ACTION" ] && { uci_set_state network "$INTERFACE" up 1 + [ -n "$DEVICE" ] && uci_set_state network "$INTERFACE" ifname "$DEVICE" } |