Update services.inc

This commit is contained in:
2025-06-12 19:50:43 -05:00
parent f1c267cd83
commit 864079ef59

View File

@@ -18,8 +18,7 @@ SINGLE_SERVER_SERVICE_CHECK(){
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
dnstest=$(dig +short +tries=1 +time=1 www.google.com @127.0.0.1)
echo $dnstest
if [ "${dnstest}" == "" ]; then
if [ "${dnstest}" == "" ] || [[ "${dnstest}" == *";;"* ]]; then
/usr/local/bin/nmg skip on >/dev/null 2>&1
completed=false; scanstart=$(date +%s)
sleep 4s