Wait connection to fetch updates
parent
345606b800
commit
37d50f5984
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
# Wait for connection
|
||||
sleep 5
|
||||
source $(dirname $0)/../.env
|
||||
connect=$(ping -q -w 1 -c 1 8.8.8.8 &> /dev/null)
|
||||
if [ $? -eq 0 ]; then
|
||||
|
|
Loading…
Reference in New Issue