Add progress indication to start script
This commit is contained in:
@@ -13,6 +13,7 @@ curl -s "http://10.10.100.12:8123/startbackup"
|
|||||||
echo "waiting for backups VM to come online..."
|
echo "waiting for backups VM to come online..."
|
||||||
|
|
||||||
while ! ping -W 1 -c 1 "$VM_IP" > /dev/null 2>&1; do
|
while ! ping -W 1 -c 1 "$VM_IP" > /dev/null 2>&1; do
|
||||||
|
echo -n "."
|
||||||
sleep "$SLEEP_INTERVAL"
|
sleep "$SLEEP_INTERVAL"
|
||||||
ELAPSED=$((ELAPSED + SLEEP_INTERVAL))
|
ELAPSED=$((ELAPSED + SLEEP_INTERVAL))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user