Output if bypassed

This commit is contained in:
Michael Stanclift 2020-06-02 09:47:48 -05:00
parent 47d71fd821
commit 0bf6831bb5

View File

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