diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-31 23:49:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-31 23:49:23 +0000 |
commit | d866ee2e30ed46980fc51f2e92451755d9cad72a (patch) | |
tree | 86f09c3904ee80b6faf9dd5b3dc9df2fe9eaba07 | |
parent | 0e9e8a141eb4139d37ba24b791965d6c2e5d04c2 (diff) | |
download | upstream-d866ee2e30ed46980fc51f2e92451755d9cad72a.tar.gz upstream-d866ee2e30ed46980fc51f2e92451755d9cad72a.tar.bz2 upstream-d866ee2e30ed46980fc51f2e92451755d9cad72a.zip |
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
-rwxr-xr-x | package/network/config/netifd/files/etc/init.d/network | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |