summaryrefslogtreecommitdiff
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 ea93819136..28b1ba3dde 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
}