projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netifd: replace the sleep 5 with an ubus wait_for call to speed up init script
[librecmc/librecmc.git]
/
package
/
network
/
config
/
netifd
/
files
/
etc
/
init.d
/
network
diff --git
a/package/network/config/netifd/files/etc/init.d/network
b/package/network/config/netifd/files/etc/init.d/network
index db07c1e6648f72198f66adce42a93f7ab7c09b8e..2e22732a9f2027a3e26a17d20a640d63748840dd 100755
(executable)
--- a/
package/network/config/netifd/files/etc/init.d/network
+++ b/
package/network/config/netifd/files/etc/init.d/network
@@
-36,7
+36,7
@@
stop_service() {
}
service_running() {
- sleep 5
+ ubus -t 30 wait_for network.interface
/sbin/wifi reload_legacy
}