netifd: start wifi at boot
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 3 Nov 2011 20:02:52 +0000 (20:02 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 3 Nov 2011 20:02:52 +0000 (20:02 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28738 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/netifd/files/etc/init.d/network

index d7d8735..455bf41 100755 (executable)
@@ -9,6 +9,10 @@ start() {
        setup_switch
 
        ubus call network reload
+
+       grep -qs config /etc/config/wireless && {
+               /sbin/wifi up
+       }
 }
 
 restart() {
This page took 0.022757 seconds and 4 git commands to generate.