From e02cf6fac5e83a33d418d096a7a6ccf48a01dc46 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Sun, 23 Aug 2020 14:50:04 +0100 Subject: [PATCH] further tweaks, plus a spelling mistake correction Signed-off-by: Adam Warner --- automated install/basic-install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index ae1a0af5..c680ffc0 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -231,12 +231,16 @@ os_check() { if [ "$valid_response" = false ]; then if [ "${digReturnCode}" -eq 0 ]; then - errStr="dig suceeded, but response was blank. Please contact Support" + errStr="dig succeeded, but response was blank. Please contact support" else errStr="dig failed with return code ${digReturnCode}" fi printf " %b %bRetrieval of supported OS list failed. %s. %b\\n" "${CROSS}" "${COL_LIGHT_RED}" "${errStr}" "${COL_NC}" printf " %bUnable to determine if the detected OS (%s %s) is supported%b\\n" "${COL_LIGHT_RED}" "${detected_os^}" "${detected_version}" "${COL_NC}" + printf " Possible causes for this include:\\n" + printf " - Firewall blocking certain DNS lookups from Pi-hole device\\n" + printf " - ns1.pi-hole.net being blocked (required to obtain TXT record from versions.pi-hole.net containing supported operating systems)\\n" + printf " - Other internet connectivity issues\\n" else printf " %b %bUnsupported OS detected: %s %s%b\\n" "${CROSS}" "${COL_LIGHT_RED}" "${detected_os^}" "${detected_version}" "${COL_NC}" printf " If you are seeing this message and you do have a supported OS, please contact support.\\n"