From aa553db885dcd04429241c3c285389e51a9f415b Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 28 Aug 2024 17:56:37 -0500 Subject: [PATCH] Update status.inc --- inc/status.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/status.inc b/inc/status.inc index f6f56d57..016af768 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -836,7 +836,7 @@ REPLCHECK(){ timeout=`date --date='1 minutes' +%s` # timeout=`date --date='30 seconds' +%s` - if [ -f ${NM_TMPFOLDER}/${nip}.disable ] || [ ! -f ${NM_TMPFOLDER}/${nip}.down ] || ([[ "${nip}" = "10.2."* ]] && [ -f ${PW_TMPFOLDER}/OFF-vMS-Host1.down ]); then + if [ -f ${NM_TMPFOLDER}/${nip}.disable ] || [ ! -f ${NM_TMPFOLDER}/${nip}.down ] || ([[ "${nip}" = *"10.2."* ]] && [ -f ${PW_TMPFOLDER}/OFF-vMS-Host1.down ]); then # if [ "${nip}" == "10.2.1.5xxx" ] && ([ "${rcheck}" == "pdns" ] || [ "${rcheck}" == "pdnsadmin" ]); then rm -f ${STATUSRUN_TMPFOLDER}/repl.${rcheck}.${nip}.running touch ${STATUSRUN_TMPFOLDER}/repl.${rcheck}.${nip}.skip