Update temp.inc.sh
This commit is contained in:
@@ -318,8 +318,9 @@ CHECKTEMP_SERVICE(){
|
|||||||
until [ "${completed}" == "true" ]; do
|
until [ "${completed}" == "true" ]; do
|
||||||
for sensor in ${PW_TMPFOLDER}/zservicerun.*.done; do
|
for sensor in ${PW_TMPFOLDER}/zservicerun.*.done; do
|
||||||
SENSORa=$(grep -oP '(?<=zservicerun.).*?(?=.done)' <<< "${nodestatus}")
|
SENSORa=$(grep -oP '(?<=zservicerun.).*?(?=.done)' <<< "${nodestatus}")
|
||||||
|
echo ${SENSORa}
|
||||||
if [ "${SENSORa}" != "*" ]; then
|
if [ "${SENSORa}" != "*" ]; then
|
||||||
rm -f ${sensor} && ((s_count++))
|
# rm -f ${sensor} && ((s_count++))
|
||||||
# echo "${NTS} == ${s_count} == ${nodestatus}"
|
# echo "${NTS} == ${s_count} == ${nodestatus}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user