diff --git a/packages/network/connman/profile.d/connman.conf b/packages/network/connman/profile.d/connman.conf new file mode 100644 index 0000000000..7787593343 --- /dev/null +++ b/packages/network/connman/profile.d/connman.conf @@ -0,0 +1,12 @@ +################################################################################ +# connman environment variables. +# +# This file contains non-OpenELEC evironment variables as well as OpenELEC +# evironment variables that are not user defined. +################################################################################ + +wait_for_network () { + while [ $(ifconfig | grep -c ^eth) = 0 -o $(ifconfig | grep -c ^wlan) = 0 ]; do + usleep 200000 + done +}