|
|
|
@ -397,7 +397,7 @@ os_check() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
diagnose_operating_system() {
|
|
|
|
|
# error message in a variable so we can easily modify it later (or re-use it)
|
|
|
|
|
# error message in a variable so we can easily modify it later (or reuse it)
|
|
|
|
|
local error_msg="Distribution unknown -- most likely you are on an unsupported platform and may run into issues."
|
|
|
|
|
# Display the current test that is running
|
|
|
|
|
echo_current_diagnostic "Operating system"
|
|
|
|
@ -814,7 +814,7 @@ dig_at() {
|
|
|
|
|
# It will also give extra assurance that Pi-hole is correctly resolving and blocking domains
|
|
|
|
|
local random_url
|
|
|
|
|
random_url=$(pihole-FTL sqlite3 "${PIHOLE_GRAVITY_DB_FILE}" "SELECT domain FROM vw_gravity WHERE domain not like '||%^' ORDER BY RANDOM() LIMIT 1")
|
|
|
|
|
# Falback if no non-ABP style domains were found
|
|
|
|
|
# Fallback if no non-ABP style domains were found
|
|
|
|
|
if [ -z "${random_url}" ]; then
|
|
|
|
|
random_url="flurry.com"
|
|
|
|
|
fi
|
|
|
|
@ -1451,7 +1451,7 @@ upload_to_tricorder() {
|
|
|
|
|
# If no token was generated
|
|
|
|
|
else
|
|
|
|
|
# Show an error and some help instructions
|
|
|
|
|
# Skip this if being called from web interface and autmatic mode was not chosen (users opt-out to upload)
|
|
|
|
|
# Skip this if being called from web interface and automatic mode was not chosen (users opt-out to upload)
|
|
|
|
|
if [[ "${WEBCALL}" ]] && [[ ! "${AUTOMATED}" ]]; then
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|