- move wait_for_network function to connman's conf.d
This commit is contained in:
Stephan Raue 2009-12-16 05:33:29 +01:00
parent 7b8f5c3f15
commit 5d69126b47
2 changed files with 16 additions and 6 deletions

View File

@ -0,0 +1,16 @@
################################################################################
# Networking environment variables.
#
# This file contains non-OpenELEC evironment variables as well as OpenELEC
# evironment variables that are not user defined.
################################################################################
#-------------------------------------------------------------------------------
# do not change anything below
#-------------------------------------------------------------------------------
wait_for_network () {
while [ ! -f /var/run/connman/udhcpc.*.pid ]; do
sleep 1
done
}

View File

@ -17,12 +17,6 @@
fi
}
wait_for_network () {
while [ ! -f /var/run/connman/udhcpc.*.pid ]; do
true
done
}
start_splash() {
while true; do
if [ -f /tmp/.X0-lock ]; then