mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
cm-online: cosmetics
This commit is contained in:
parent
86aa97d1d5
commit
0ecef501bd
@ -22,10 +22,8 @@
|
||||
# default 30sec
|
||||
[ ! -z $1 ] && TIMEOUT=$1 || TIMEOUT=30
|
||||
|
||||
LOOP_COUNT=$((TIMEOUT * 4))
|
||||
|
||||
for i in $(seq 1 $LOOP_COUNT) ; do
|
||||
for i in $(seq 1 $TIMEOUT) ; do
|
||||
STATUS=$(ifconfig | sed -e '/inet addr:/!d' -e '/127.0.0.1/d' |wc -l)
|
||||
[ "$STATUS" -gt 0 ] && break
|
||||
usleep 250000
|
||||
usleep 1000000
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user