Update temp.inc.sh
This commit is contained in:
@@ -334,6 +334,7 @@ CHECKTEMP_SERVICE(){
|
||||
temp_c=$(cat /sys/class/hwmon/hwmon2/fan1_input)
|
||||
temp_h=''
|
||||
echo "EX: ${temp_c}"
|
||||
cat /sys/class/hwmon/hwmon2/fan1_input
|
||||
fi
|
||||
|
||||
elif [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "remotesystem" ]; then
|
||||
@@ -366,7 +367,6 @@ CHECKTEMP_SERVICE(){
|
||||
|
||||
fi
|
||||
[ "${last_temp[${SENSOR//-/}]}" == "" ] && last_temp[${SENSOR//-/}]=0
|
||||
echo "EX: ${temp_c}"
|
||||
|
||||
logtemp=${PW_LOGFOLDER}/log-temp-${SENSOR}
|
||||
if [ "${temp_c}" != "null" ] && [ "${temp_c}" != "" ]; then
|
||||
|
||||
Reference in New Issue
Block a user