mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
connman:
- move wait_for_network function to connman's conf.d
This commit is contained in:
parent
7b8f5c3f15
commit
5d69126b47
16
packages/network/connman/conf.d/connman
Normal file
16
packages/network/connman/conf.d/connman
Normal 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
|
||||
}
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user