diff --git a/inc/status.inc b/inc/status.inc index 68e081b3..80d3050e 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -836,6 +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 [ "${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