From: Jonas Gorski Date: Sat, 8 Jun 2013 11:44:12 +0000 (+0000) Subject: netifd: bring wifi down before shutting down X-Git-Tag: reboot~10258 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b9de8ca7f578b017066f57bb98bfbf2069f058d4;p=oweals%2Fopenwrt.git netifd: bring wifi down before shutting down works around wifiX references not being freed on network restart. Signed-off-by: Jonas Gorski SVN-Revision: 36883 --- 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 }