Update temp.inc.sh
This commit is contained in:
@@ -570,7 +570,7 @@ CHECKTEMP_SERVICE_RUNSENSOR(){
|
|||||||
wait=$(echo "scale=0; ${PW_MYSQL_LOG_INTERVAL_NORMAL}*60" | bc)
|
wait=$(echo "scale=0; ${PW_MYSQL_LOG_INTERVAL_NORMAL}*60" | bc)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "HERE: ${SENSOR} - ${lastinsert} - ${wait}"
|
echo "HERE: ${SENSOR} - ${lastinsert} - ${wait} = ${PW_TMPFOLDER}/${SENSOR}.insert"
|
||||||
|
|
||||||
if [ "${PW_SENSOR_ID[${SENSORa}]}" != "" ] && [ ${lastinsert} -ge ${wait} ]; then
|
if [ "${PW_SENSOR_ID[${SENSORa}]}" != "" ] && [ ${lastinsert} -ge ${wait} ]; then
|
||||||
if [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "esxi" ]; then
|
if [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "esxi" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user