From 0bf6831bb52eec536d74a82f1c9472d6683191ba Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Tue, 2 Jun 2020 09:47:48 -0500 Subject: [PATCH] Output if bypassed --- gravity-sync.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gravity-sync.sh b/gravity-sync.sh index 1d0f60d..0b22698 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -859,6 +859,7 @@ function config_generate { read INPUT_REMOTE_HOST if [ "${PING_AVOID}" != "1" ] + then MESSAGE="Testing Network Connection (PING)" echo_stat ping -c 3 ${INPUT_REMOTE_HOST} @@ -868,6 +869,9 @@ function config_generate { else echo_good fi + else + MESSAGE="Bypassing Network Testing (PING)" + echo_info fi MESSAGE="Enter SSH user with SUDO rights on primary Pi-hole server"