Update temp.inc.sh

This commit is contained in:
2023-12-26 19:32:41 -06:00
parent 8779d13fc3
commit bb60a03632

View File

@@ -318,10 +318,9 @@ CHECKTEMP_SERVICE(){
until [ "${completed}" == "true" ]; do
for sensor in ${PW_TMPFOLDER}/zservicerun.*.done; do
SENSORa=$(grep -oP '(?<=zservicerun.).*?(?=.done)' <<< "${nodestatus}")
echo ${SENSORa}
if [ "${SENSORa}" != "*" ]; then
# rm -f ${sensor} && ((s_count++))
# echo "${NTS} == ${s_count} == ${nodestatus}"
echo ${SENSORa}
fi
done
[ ${s_count} -eq ${#SENSORS_CHECKED[@]} ] && completed=true