This commit is contained in:
voltron committed 2023-12-26 22:15:50 -06:00
1 parent 8101150004
commit 742297c302
2 files changed
+5 -5

No files matched your search

+4 -4
View File
@@ -713,12 +713,12 @@ SENDTEMP(){
if [ "${1}" != "" ]; then
if [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "esxi" ]; then
average1=$(AVERAGETEMP ${PW_SENSOR_ID[${SENSORa}]} 1 ${vSENSOR// /_})
# average7=$(AVERAGETEMP ${PW_SENSOR_ID[${SENSORa}]} 7 ${vSENSOR// /_})
average7=0
average7=$(AVERAGETEMP ${PW_SENSOR_ID[${SENSORa}]} 7 ${vSENSOR// /_})
# average7=0
else
average1=$(AVERAGETEMP ${PW_SENSOR_ID[${SENSORa}]} 1)
# average7=$(AVERAGETEMP ${PW_SENSOR_ID[${SENSORa}]} 7)
average7=0
average7=$(AVERAGETEMP ${PW_SENSOR_ID[${SENSORa}]} 7)
# average7=0
fi
fi