aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-06-08 11:44:12 +0000
committerJonas Gorski <jogo@openwrt.org>2013-06-08 11:44:12 +0000
commitb9de8ca7f578b017066f57bb98bfbf2069f058d4 (patch)
tree52c669c024bdf41a292d8bbfeb570bf271f9b912
parentda7590cd2119b92a34eb8c3e71094eb20c0df0e8 (diff)
downloadupstream-b9de8ca7f578b017066f57bb98bfbf2069f058d4.tar.gz
upstream-b9de8ca7f578b017066f57bb98bfbf2069f058d4.tar.bz2
upstream-b9de8ca7f578b017066f57bb98bfbf2069f058d4.zip
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> SVN-Revision: 36883
-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
}