summaryrefslogtreecommitdiff
path: root/util/temp_metrics.conf
diff options
context:
space:
mode:
Diffstat (limited to 'util/temp_metrics.conf')
-rw-r--r--util/temp_metrics.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/temp_metrics.conf b/util/temp_metrics.conf
index 5dba2c04bc..8c39b71d8a 100644
--- a/util/temp_metrics.conf
+++ b/util/temp_metrics.conf
@@ -321,6 +321,12 @@ script
set_fan_rpm $rpm
}
+ # Thermal zone 1 is for operating systems where a userland thermal loop
+ # doesn't exist. Disable it.
+ if [ -e /sys/class/thermal/thermal_zone1/mode ]; then
+ echo -n 'disabled' > /sys/class/thermal/thermal_zone1/mode
+ fi
+
# Get list of sensors to monitor.
sensor_list=$(get_sensor_list)