netifd: fix an error message during network shutdown
[openwrt/staging/chunkeey.git] / package / network / config / netifd / files / etc / init.d / network
index 1d8a5b34efe132445a32f1fa7676955890b76025..fbba9ecb1ccc8673bc0d88be385dbba022126c6b 100755 (executable)
@@ -32,8 +32,9 @@ reload_service() {
        /sbin/wifi reload_legacy
 }
 
        /sbin/wifi reload_legacy
 }
 
-stop_service() {
+stop() {
        /sbin/wifi down
        /sbin/wifi down
+       procd_kill network ''
 }
 
 service_running() {
 }
 
 service_running() {