netifd: bring up wifi at boot
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 24 May 2012 16:24:55 +0000 (16:24 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 24 May 2012 16:24:55 +0000 (16:24 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31855 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 078a285..a3e4d87 100755 (executable)
@@ -20,13 +20,14 @@ start() {
        setup_switch
 
        sleep 1
+
+       /sbin/wifi up
 }
 
 restart() {
        ifdown -a
        sleep 1
        start
-       wifi
 }
 
 shutdown() {