aboutsummaryrefslogtreecommitdiffstats
path: root/package/netifd
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-24 16:24:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-24 16:24:55 +0000
commitcc61ab5c6d10d85620bec8e5dd81b29606bda2cd (patch)
tree3ed7a16ffff3e63621cde5587e06bf8f1bb333c3 /package/netifd
parent44f64af73055c209fa95c43138ce75e2572710c4 (diff)
downloadupstream-cc61ab5c6d10d85620bec8e5dd81b29606bda2cd.tar.gz
upstream-cc61ab5c6d10d85620bec8e5dd81b29606bda2cd.tar.bz2
upstream-cc61ab5c6d10d85620bec8e5dd81b29606bda2cd.zip
netifd: bring up wifi at boot
SVN-Revision: 31855
Diffstat (limited to 'package/netifd')
-rwxr-xr-xpackage/netifd/files/etc/init.d/network3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/netifd/files/etc/init.d/network b/package/netifd/files/etc/init.d/network
index 078a285957..a3e4d879ba 100755
--- a/package/netifd/files/etc/init.d/network
+++ b/package/netifd/files/etc/init.d/network
@@ -20,13 +20,14 @@ start() {
setup_switch
sleep 1
+
+ /sbin/wifi up
}
restart() {
ifdown -a
sleep 1
start
- wifi
}
shutdown() {