mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
fix nonhotpluggable networks not being brought up. Closes #2781
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17527 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -203,6 +203,7 @@ for ifc in $interfaces __default; do
|
||||
config_get ifname "$ifc" ifname
|
||||
config_get aliases "$ifc" aliases
|
||||
uci_revert_state network "$ifc"
|
||||
uci_set_state network "$ifc" started 1
|
||||
[ -n "$device" ] && uci_set_state network "$ifc" device "$device"
|
||||
[ -n "$ifname" ] && uci_set_state network "$ifc" ifname "$ifname"
|
||||
[ -n "$aliases" ] && uci_set_state network "$ifc" aliases "$aliases"
|
||||
|
||||
Reference in New Issue
Block a user