diff options
author | Travis Kemen <thepeople@openwrt.org> | 2009-09-06 17:02:14 +0000 |
---|---|---|
committer | Travis Kemen <thepeople@openwrt.org> | 2009-09-06 17:02:14 +0000 |
commit | 2aac835be8b41fc6cb0f279bedef625d666aae5c (patch) | |
tree | 2714985d894bf7a2234e248dada4205afe44d458 /package/base-files/files/usr/share/udhcpc/default.script | |
parent | 31de48c7d8189c97510a51304b0a3f053682a35b (diff) | |
download | master-187ad058-2aac835be8b41fc6cb0f279bedef625d666aae5c.tar.gz master-187ad058-2aac835be8b41fc6cb0f279bedef625d666aae5c.tar.bz2 master-187ad058-2aac835be8b41fc6cb0f279bedef625d666aae5c.zip |
fix nonhotpluggable networks not being brought up. Closes #2781
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17527 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/usr/share/udhcpc/default.script')
-rwxr-xr-x | package/base-files/files/usr/share/udhcpc/default.script | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/usr/share/udhcpc/default.script b/package/base-files/files/usr/share/udhcpc/default.script index b32b2c9f25..ea0a28b3ae 100755 --- a/package/base-files/files/usr/share/udhcpc/default.script +++ b/package/base-files/files/usr/share/udhcpc/default.script @@ -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" |