From b619b060938bdacbfd9a86e56531224df6bca1ac Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 3 Dec 2009 15:22:48 +0100 Subject: [PATCH] busybox: - add function to wait of connman has started --- packages/sysutils/busybox/config/sysconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/sysutils/busybox/config/sysconfig b/packages/sysutils/busybox/config/sysconfig index 48169c2b04..b80538be32 100644 --- a/packages/sysutils/busybox/config/sysconfig +++ b/packages/sysutils/busybox/config/sysconfig @@ -36,6 +36,12 @@ exec /usr/bin/Xorg :0.0 vt01 ${args} > /dev/null 2>&1 & } + wait_for_network () { + while [ ! -f /var/run/connman/udhcpc.*.pid ]; do + sleep 1 + done + } + start_splash() { while true; do if [ -f /tmp/.X0-lock ]; then