Update status.inc

This commit is contained in:
2024-08-28 18:07:47 -05:00
parent aa553db885
commit 4e204fa990

View File

@@ -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