mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
connman: ups. ash!
This commit is contained in:
parent
7647ac175b
commit
fd35cf567e
@ -25,7 +25,7 @@ wait_for_inet_addr () {
|
||||
if [ "$WAIT_NETWORK" = "true" ] ; then
|
||||
progress "Wait for network"
|
||||
[ -z "$WAIT_NETWORK_TIME" ] && WAIT_NETWORK_TIME=10
|
||||
LOOP_COUNT=$[$WAIT_NETWORK_TIME * 5]
|
||||
LOOP_COUNT=$((WAIT_NETWORK_TIME * 5))
|
||||
for i in $(seq 1 $LOOP_COUNT) ; do
|
||||
cnt=$(ifconfig | sed -e '/inet addr:/!d' -e '/127.0.0.1/d' |wc -l)
|
||||
[ $cnt -gt 0 ] && break
|
||||
|
Loading…
x
Reference in New Issue
Block a user