projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] netifd: call "wifi down" before "wifi up"
[openwrt/svn-archive/archive.git]
/
package
/
netifd
/
files
/
etc
/
init.d
/
network
diff --git
a/package/netifd/files/etc/init.d/network
b/package/netifd/files/etc/init.d/network
index ea93819136f9c2ec3458a9b3fe62baec13dd2822..28b1ba3dde1af1465a54479ccc101e00987b852a 100755
(executable)
--- 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
}