summaryrefslogtreecommitdiff
path: root/package/network/config
diff options
context:
space:
mode:
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-06-08 11:44:12 +0000
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-06-08 11:44:12 +0000
commit686506707f2353f60d20c7107f987512b2080c61 (patch)
treed40cd6195b676d98cb14248af61ecb69af33f71f /package/network/config
parentd5a2bd8e6188361086fbfa68756ff99e7d1721d1 (diff)
netifd: bring wifi down before shutting down
works around wifiX references not being freed on network restart. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36883 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/config')
-rwxr-xr-xpackage/network/config/netifd/files/etc/init.d/network1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/config/netifd/files/etc/init.d/network b/package/network/config/netifd/files/etc/init.d/network
index 429f33dd92..75586452f0 100755
--- a/package/network/config/netifd/files/etc/init.d/network
+++ b/package/network/config/netifd/files/etc/init.d/network
@@ -37,6 +37,7 @@ shutdown() {
}
stop() {
+ /sbin/wifi down
service_stop /sbin/netifd
}