From ba2d10c65eca2fcf205b9d82a2d1901df5f946e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Tue, 3 Sep 2024 23:03:59 +0200 Subject: [PATCH] DNS check in gravity should not check for FTL as it might not be the host's name server MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- gravity.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gravity.sh b/gravity.sh index 6a8918db..7ca695f5 100755 --- a/gravity.sh +++ b/gravity.sh @@ -309,14 +309,6 @@ gravity_CheckDNSResolutionAvailable() { fi - # Determine error output message - if pgrep pihole-FTL &>/dev/null; then - echo -e " ${CROSS} DNS resolution is currently unavailable" - else - echo -e " ${CROSS} DNS service is not running" - "${PIHOLE_COMMAND}" restartdns - fi - # Ensure DNS server is given time to be resolvable secs="120" echo -ne " ${INFO} Time until retry: ${secs}"