Update powerwall.sh
This commit is contained in:
@@ -291,7 +291,7 @@ CHECKTEMP_SERVICE(){
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
temp_f=$(echo "scale=2; ${temp_c}*1.8 + 32" | bc)
|
temp_f=$(echo "scale=2; ${temp_c}*1.8 + 32" | bc)
|
||||||
echo "HERE: ${SENSOR} - ${temp_f} - ${temp_warn} - ${temp_crit} - ${temp_crit_sys}"
|
# echo "HERE: ${SENSOR} - ${temp_f} - ${temp_warn} - ${temp_crit} - ${temp_crit_sys}"
|
||||||
|
|
||||||
if [ "${PW_SENSOR_TYPE[${SENSORa}]}" != "esxi" ]; then
|
if [ "${PW_SENSOR_TYPE[${SENSORa}]}" != "esxi" ]; then
|
||||||
echo ${PW_TEMP_THRESHOLDS[${SENSOR}]} | cut -d',' -f 1 | read temp_warn
|
echo ${PW_TEMP_THRESHOLDS[${SENSOR}]} | cut -d',' -f 1 | read temp_warn
|
||||||
|
|||||||
Reference in New Issue
Block a user