netifd: replace the sleep 5 with an ubus wait_for call to speed up init script
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40891 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
8b7d0d34dc
commit
0fab8e45b6
|
@ -36,7 +36,7 @@ stop_service() {
|
||||||
}
|
}
|
||||||
|
|
||||||
service_running() {
|
service_running() {
|
||||||
sleep 5
|
ubus -t 30 wait_for network.interface
|
||||||
/sbin/wifi reload_legacy
|
/sbin/wifi reload_legacy
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue