Update powerwall.sh
This commit is contained in:
@@ -94,8 +94,8 @@ CHECKTEMPSENSOR(){
|
|||||||
elif [ "${PW_SENSOR_TYPE[${1}]}" == "esxi" ]; then
|
elif [ "${PW_SENSOR_TYPE[${1}]}" == "esxi" ]; then
|
||||||
temp_c=${2}
|
temp_c=${2}
|
||||||
temp_f=`echo "scale=2; ${temp_c}*1.8 + 32" | bc`
|
temp_f=`echo "scale=2; ${temp_c}*1.8 + 32" | bc`
|
||||||
temp_warn=`echo "scale=2; ${3}*1.8 + 32" | bc`
|
# temp_warn=`echo "scale=2; ${3}*1.8 + 32" | bc`
|
||||||
temp_crit=`echo "scale=2; ${4}*1.8 + 32" | bc`
|
# temp_crit=`echo "scale=2; ${4}*1.8 + 32" | bc`
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user