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 | 27915ac778c7b142a5fe9a8db977e2d89706d3f2 (patch) | |
tree | d2534c0b08c2ec9840dccfb2ebea6689e3499c55 /package/base-files/files/usr/share | |
parent | 65fa1debdae9f85f953d70f2eeba0814bfc4d9ba (diff) | |
download | upstream-27915ac778c7b142a5fe9a8db977e2d89706d3f2.tar.gz upstream-27915ac778c7b142a5fe9a8db977e2d89706d3f2.tar.bz2 upstream-27915ac778c7b142a5fe9a8db977e2d89706d3f2.zip |
fix nonhotpluggable networks not being brought up. Closes #2781
SVN-Revision: 17527
Diffstat (limited to 'package/base-files/files/usr/share')
-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" |