Browse Source

change variable name

KagurazakaNyaa 1 year ago
parent
commit
b89d71e6e4
2 changed files with 5 additions and 5 deletions
  1. 4 4
      data/Dockerfiles/unbound/healthcheck.sh
  2. 1 1
      generate_config.sh

+ 4 - 4
data/Dockerfiles/unbound/healthcheck.sh

@@ -1,8 +1,8 @@
 #!/bin/bash
 #!/bin/bash
 
 
-# Skipping DNS check
-if [[ "${SKIP_DNS_CHECK}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
-    SKIP_DNS_CHECK=y
+# Skip Unbound (DNS Resolver) Healthchecks (NOT Recommended!)
+if [[ "${SKIP_UNBOUND_HEALTHCHECK}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
+    SKIP_UNBOUND_HEALTHCHECK=y
 fi
 fi
 
 
 # Declare log function for logfile inside container
 # Declare log function for logfile inside container
@@ -71,7 +71,7 @@ function check_netcat() {
 
 
 }
 }
 
 
-if [[ ${SKIP_DNS_CHECK} == "y" ]]; then
+if [[ ${SKIP_UNBOUND_HEALTHCHECK} == "y" ]]; then
     log_to_file "Healthcheck: ALL CHECKS WERE SKIPPED! Unbound is healthy!"
     log_to_file "Healthcheck: ALL CHECKS WERE SKIPPED! Unbound is healthy!"
     exit 0
     exit 0
 fi
 fi

+ 1 - 1
generate_config.sh

@@ -365,7 +365,7 @@ SKIP_HTTP_VERIFICATION=n
 
 
 # Skip DNS check in Unbound container - y/n
 # Skip DNS check in Unbound container - y/n
 
 
-SKIP_DNS_CHECK=n
+SKIP_UNBOUND_HEALTHCHECK=n
 
 
 # Skip ClamAV (clamd-mailcow) anti-virus (Rspamd will auto-detect a missing ClamAV container) - y/n
 # Skip ClamAV (clamd-mailcow) anti-virus (Rspamd will auto-detect a missing ClamAV container) - y/n