fix nonhotpluggable networks not being brought up. Closes #2781
[openwrt-10.03/.git] / package / base-files / files / lib / network / config.sh
index bfadf40c89e8577ab16f488e15c647b6c5dec926..12a3378b8c3ca94c59b317aa9d8e64a0f075f4f5 100755 (executable)
@@ -153,6 +153,7 @@ set_interface_ifname() {
        config_get device "$1" device
        uci_set_state network "$config" ifname "$ifname"
        uci_set_state network "$config" device "$device"
+       uci_set_state network "$config" started 1
 }
 
 setup_interface_none() {