From fc1dd75796545a9c93c28dc48fc654d0c2b859fe Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 1 Dec 2024 12:12:49 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/inc/status.inc b/inc/status.inc index 91a3937c..33b2ca35 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -857,10 +857,11 @@ 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 ]) || - [ "${nip}" == "10.2.1.5" ] && ([ "${rcheck}" == "pw-tmp" ] || [ "${rcheck}" == "tinytuya" ] || [ "${rcheck}" == "uptime" ]) ; then - rm -f ${STATUSRUN_TMPFOLDER}/repl.${rcheck}.${nip}.running - touch ${STATUSRUN_TMPFOLDER}/repl.${rcheck}.${nip}.skip + # if [ -f ${NM_TMPFOLDER}/${nip}.disable ] || [ -f ${NM_TMPFOLDER}/${nip}.down ] || ([[ "${nip}" = "10.2."* ]] && [ -f ${PW_TMPFOLDER}/OFF-vMS-Host1.down ]) || + # [ "${nip}" == "10.2.1.5" ] && ([ "${rcheck}" == "pw-tmp" ] || [ "${rcheck}" == "tinytuya" ] || [ "${rcheck}" == "uptime" ]) ; then + if [ -f ${NM_TMPFOLDER}/${nip}.disable ] || [ -f ${NM_TMPFOLDER}/${nip}.down ]; then + rm -f ${STATUSRUN_TMPFOLDER}/repl.${rcheck}.${nip}.running + touch ${STATUSRUN_TMPFOLDER}/repl.${rcheck}.${nip}.skip else checked=false