update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
VERS='5.5.28-06232025'
|
||||
VERS='5.5.29-06242025'
|
||||
NM_BETA=false
|
||||
|
||||
noheader=' 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 '
|
||||
|
||||
@@ -19,13 +19,13 @@ 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)
|
||||
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
|
||||
completed=false; scanstart=$(date +%s)
|
||||
sleep 4s
|
||||
until [ "${completed}" == "true" ]; do
|
||||
dnstest=$(dig +short +tries=1 +time=1 www.google.com @127.0.0.1)
|
||||
dnstest=$(dig +short +tries=3 +time=3 www.google.com @127.0.0.1)
|
||||
if [ "${dnstest}" != "" ] && [[ "${dnstest}" != *";;"* ]]; then
|
||||
completed=true
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user