Add progress indication to start script

This commit is contained in:
sem
2026-07-02 21:57:34 +00:00
parent a06d38345c
commit f7cc6ba83b

View File

@@ -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))