From 7310c081168cc91c6491754d2f7b4d69efd646de Mon Sep 17 00:00:00 2001 From: neingeist Date: Fri, 25 Sep 2015 04:34:27 +0200 Subject: [PATCH] auf querfunk.ffka warten nach installation --- install | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/install b/install index ebc2927..9b17861 100755 --- a/install +++ b/install @@ -11,7 +11,12 @@ scp assets/index.html root@[$ffka_querfunk_mgmt]:/lib/gluon/status-page/www/ ssh root@$ffka_querfunk_mgmt "reboot" -sleep 30 +echo -n "Waiting for ffka-querfunk to come online after rebooting" +sleep 3 ffka_querfunk=2a03:2260:a:a::1:66 -ping6 -c 10 $ffka_querfunk +while ! ping6 -c1 $ffka_querfunk &>/dev/null; do + echo -n "." + sleep 1 +done +echo