From 0fab8e45b6cf13568ad666c4c098bb5c12ac8877 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 31 May 2014 23:49:23 +0000 Subject: netifd: replace the sleep 5 with an ubus wait_for call to speed up init script Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40891 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/config/netifd/files/etc/init.d/network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') 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 } -- cgit v1.2.3