From af90b84cfcd584aa95e91fe3eecf3e9bc3df9be7 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 8 Nov 2012 14:32:34 +0100 Subject: [PATCH] be more verbose --- liveboot_testdeploy.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/liveboot_testdeploy.sh b/liveboot_testdeploy.sh index fd6f24e..bb4b5e6 100755 --- a/liveboot_testdeploy.sh +++ b/liveboot_testdeploy.sh @@ -6,6 +6,7 @@ set -e #set -x export +echo TESTSERVER=pserver2 TESTSERVER_MGMT_IP=192.168.178.49 @@ -59,19 +60,16 @@ fi # # check for 10min whether it's up again # -echo -n "Pinging $TESTSERVER..." +echo "Pinging $TESTSERVER..." for i in $(seq 1 60) ; do sleep 10 - echo -n "." + echo "." if $(ping -c 1 $TESTSERVER >/dev/null) ; then - echo - echo echo "$TESTSERVER pings again, so we assume it's up." break fi done if ! $(ping -c 1 $TESTSERVER >/dev/null) ; then - echo figlet "Failure:" echo "$TESTSERVER still down, please investigate." exit 1 -- 2.39.5