summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackage/netifd/files/etc/init.d/network2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/netifd/files/etc/init.d/network b/package/netifd/files/etc/init.d/network
index ea9381913..28b1ba3dd 100755
--- a/package/netifd/files/etc/init.d/network
+++ b/package/netifd/files/etc/init.d/network
@@ -21,6 +21,7 @@ start() {
sleep 1
+ /sbin/wifi down
/sbin/wifi up
}
@@ -41,5 +42,6 @@ stop() {
reload() {
ubus call network reload
+ /sbin/wifi down
/sbin/wifi up
}