mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
connman: fix wait_for_network function
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
562fccfcf1
commit
451139eed8
@ -6,7 +6,8 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
wait_for_network () {
|
wait_for_network () {
|
||||||
while [ $(ifconfig | grep -c ^eth) = 0 -o $(ifconfig | grep -c ^wlan) = 0 ]; do
|
while [ $(ifconfig | grep -c ^eth) = 0 ]; do
|
||||||
usleep 200000
|
usleep 200000
|
||||||
done
|
done
|
||||||
|
usleep 500000
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user