diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-11-03 20:02:52 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-11-03 20:02:52 +0000 |
commit | d4d91df5fe7340f14824c5de815de01416af67f2 (patch) | |
tree | 75ddee916db9efce62c69d82904fca52b0ff87cb /package/netifd | |
parent | 3ac516569075a1f2f4099ab306f7ec1575e8b111 (diff) | |
download | upstream-d4d91df5fe7340f14824c5de815de01416af67f2.tar.gz upstream-d4d91df5fe7340f14824c5de815de01416af67f2.tar.bz2 upstream-d4d91df5fe7340f14824c5de815de01416af67f2.zip |
netifd: start wifi at boot
SVN-Revision: 28738
Diffstat (limited to 'package/netifd')
-rwxr-xr-x | package/netifd/files/etc/init.d/network | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/netifd/files/etc/init.d/network b/package/netifd/files/etc/init.d/network index d7d87350ef..455bf411b1 100755 --- a/package/netifd/files/etc/init.d/network +++ b/package/netifd/files/etc/init.d/network @@ -9,6 +9,10 @@ start() { setup_switch ubus call network reload + + grep -qs config /etc/config/wireless && { + /sbin/wifi up + } } restart() { |