projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netifd: drop conflicting 'device' interface property
[openwrt/staging/dedeckeh.git]
/
package
/
network
/
config
/
netifd
/
files
/
etc
/
hotplug.d
/
iface
/
00-netstate
diff --git
a/package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate
b/package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate
index 023025cd1a0b4a61f44ca19264d99e0e948c1a5f..71ccb01915aa55a3cce7f865da970dd91799af75 100644
(file)
--- a/
package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate
+++ b/
package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate
@@
-1,7
+1,6
@@
[ ifup = "$ACTION" ] && {
uci_toggle_state network "$INTERFACE" up 1
[ -n "$DEVICE" ] && {
- uci_toggle_state network "$INTERFACE" device "$(uci -q get network.$INTERFACE.ifname)"
uci_toggle_state network "$INTERFACE" ifname "$DEVICE"
}
}