mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
connman: ups. ash!
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user