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
commit4bf5594f9bfbf6f4c306fbd80bfe18a614767586 (patch)
tree1e3a2c604a510b305f2912023dfe694aab9abb45 /package/netifd
parent5de1b14ed2b59ba0d4ac86e0cc471b3e582a1baf (diff)
downloadmaster-187ad058-4bf5594f9bfbf6f4c306fbd80bfe18a614767586.tar.gz
master-187ad058-4bf5594f9bfbf6f4c306fbd80bfe18a614767586.tar.bz2
master-187ad058-4bf5594f9bfbf6f4c306fbd80bfe18a614767586.zip
netifd: bring up wifi at boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31855 3c298f89-4303-0410-b956-a3cf2f4a3e73
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() {