mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-20 09:26:28 +00:00
netifd: replace the sleep 5 with an ubus wait_for call to speed up init script
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40891
This commit is contained in:
parent
0e9e8a141e
commit
d866ee2e30
@ -36,7 +36,7 @@ stop_service() {
|
||||
}
|
||||
|
||||
service_running() {
|
||||
sleep 5
|
||||
ubus -t 30 wait_for network.interface
|
||||
/sbin/wifi reload_legacy
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user