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 | 5f8e0eff4bc57c80577c2cc6692dcabb927623d6 (patch) | |
tree | 27d13336a37b4d626fa741f813e4de45b77089a3 /package/netifd/files/etc/init.d | |
parent | a5f5999a2d86be295d36850f28e67cd18245e4ca (diff) | |
download | master-187ad058-5f8e0eff4bc57c80577c2cc6692dcabb927623d6.tar.gz master-187ad058-5f8e0eff4bc57c80577c2cc6692dcabb927623d6.tar.bz2 master-187ad058-5f8e0eff4bc57c80577c2cc6692dcabb927623d6.zip |
netifd: start wifi at boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28738 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/netifd/files/etc/init.d')
-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() { |