mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
further tweaks, plus a spelling mistake correction
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
parent
b8cd238fa1
commit
e02cf6fac5
1 changed files with 5 additions and 1 deletions
|
@ -231,12 +231,16 @@ os_check() {
|
||||||
if [ "$valid_response" = false ]; then
|
if [ "$valid_response" = false ]; then
|
||||||
|
|
||||||
if [ "${digReturnCode}" -eq 0 ]; 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
|
else
|
||||||
errStr="dig failed with return code ${digReturnCode}"
|
errStr="dig failed with return code ${digReturnCode}"
|
||||||
fi
|
fi
|
||||||
printf " %b %bRetrieval of supported OS list failed. %s. %b\\n" "${CROSS}" "${COL_LIGHT_RED}" "${errStr}" "${COL_NC}"
|
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 " %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
|
else
|
||||||
printf " %b %bUnsupported OS detected: %s %s%b\\n" "${CROSS}" "${COL_LIGHT_RED}" "${detected_os^}" "${detected_version}" "${COL_NC}"
|
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"
|
printf " If you are seeing this message and you do have a supported OS, please contact support.\\n"
|
||||||
|
|
Loading…
Reference in a new issue