From 71ab463f4ebc82e1446e290f451ba2ece603b52b Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 6 Jul 2025 13:03:12 -0500 Subject: [PATCH] update --- defaults.inc | 2 +- inc/services.inc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defaults.inc b/defaults.inc index 8fa72f41..cd0e1351 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='5.6.4-07062025' +VERS='5.6.5-07062025' NM_BETA=false noheader=' test service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck offsite-staticroute-fix ' diff --git a/inc/services.inc b/inc/services.inc index 10fb7d53..449a3135 100755 --- a/inc/services.inc +++ b/inc/services.inc @@ -17,8 +17,8 @@ SINGLE_SERVER_SERVICE_CHECK(){ # rm -f ${NM_TMPFOLDER}/.singleserver* - if [ ! -f ${NM_TMPFOLDER}/.skip ] && ([[ "$(declare -p ${1^^}_SINGLESRVR_SERVICES)" =~ "declare -a" ]] || [[ "$(declare -p ${1^^}_SINGLESRVR_DOCKERS)" =~ "declare -a" ]] || [ "${1^^}" == "LPD" ]); then - if [ "${1^^}" == "LPD" ]; then + if [ ! -f ${NM_TMPFOLDER}/.skip ] && ([[ "$(declare -p ${1^^}_SINGLESRVR_SERVICES)" =~ "declare -a" ]] || [[ "$(declare -p ${1^^}_SINGLESRVR_DOCKERS)" =~ "declare -a" ]] || [ "${1^^}" == "LPD" ] || [ "${1^^}" == "DNS" ] || [ "${1^^}" == "LDNS" ]); then + if [ "${1^^}" == "LPD" ] || [ "${1^^}" == "DNS" ] || [ "${1^^}" == "LDNS" ]; then dnstest=$(dig +short +tries=3 +time=3 www.google.com @127.0.0.1) if [ "${dnstest}" == "" ] || [[ "${dnstest}" == *";;"* ]]; then /usr/local/bin/nmg skip on >/dev/null 2>&1