netifd: bring up wifi at boot
authorFelix Fietkau <nbd@openwrt.org>
Thu, 24 May 2012 16:24:55 +0000 (16:24 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 24 May 2012 16:24:55 +0000 (16:24 +0000)
SVN-Revision: 31855

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

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