configure default values in ~/pistressrc if exists
This commit is contained in:
@@ -21,11 +21,10 @@ format_temp() {
|
||||
echo "${ftemp}"
|
||||
}
|
||||
|
||||
ZONE=/sys/class/thermal/thermal_zone0/temp
|
||||
|
||||
#retrieve the cpu's temperature from /sys/class/thermal/thermal_zone0/temp
|
||||
measure_temp() {
|
||||
cpu_temp=$(cat ${ZONE})
|
||||
cpu_temp=$(cat ${THERMAL_ZONE})
|
||||
|
||||
formatted_temp=$(format_temp "${cpu_temp}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user