- add function to wait of connman has started
This commit is contained in:
Stephan Raue 2009-12-03 15:22:48 +01:00
parent 3fcf0194ad
commit b619b06093

View File

@ -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