Update temp.inc.sh

This commit is contained in:
2023-12-26 15:13:43 -06:00
parent 721f2bf7fd
commit c6ac96ecf0

View File

@@ -396,7 +396,6 @@ CHECKTEMP_SERVICE(){
if [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "cpu" ]; then
temp_f=$(echo "scale=2; $temp_c/1" | bc -l)
elif [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "system" ] && [[ "${SENSOR}" = *"FAN"* ]]; then
echo "(${temp_c})-(${temp_f})"
temp_f=${temp_c}
else
temp_f=$(bc <<< "scale=2; ${temp_c}*1.8+32")