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 | |
parent | 3ac516569075a1f2f4099ab306f7ec1575e8b111 (diff) | |
download | mtk-20170518-d4d91df5fe7340f14824c5de815de01416af67f2.zip mtk-20170518-d4d91df5fe7340f14824c5de815de01416af67f2.tar.gz mtk-20170518-d4d91df5fe7340f14824c5de815de01416af67f2.tar.bz2 |
netifd: start wifi at boot
SVN-Revision: 28738
Diffstat (limited to 'package')
-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 d7d8735..455bf41 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() { |