netifd: bring wifi down before shutting down
[openwrt/openwrt.git] / package / network / config / netifd / files / etc / init.d / network
index 429f33dd928434e87bf785d77c3da9286d4b1bf4..75586452f0583d0a1c0c4bbb19044358a7dd3c98 100755 (executable)
@@ -37,6 +37,7 @@ shutdown() {
 }
 
 stop() {
+       /sbin/wifi down
        service_stop /sbin/netifd
 }