From d866ee2e30ed46980fc51f2e92451755d9cad72a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 31 May 2014 23:49:23 +0000 Subject: [PATCH] netifd: replace the sleep 5 with an ubus wait_for call to speed up init script Signed-off-by: Felix Fietkau SVN-Revision: 40891 --- package/network/config/netifd/files/etc/init.d/network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/config/netifd/files/etc/init.d/network b/package/network/config/netifd/files/etc/init.d/network index db07c1e664..2e22732a9f 100755 --- 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 } -- 2.30.2