Browse Source

cpu temp: use wildcard to adapt to new temp file path

/sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input
Fabian Peter Hammerle 2 weeks ago
parent
commit
1a04391ecf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config

+ 1 - 1
config

@@ -57,7 +57,7 @@ load {
 
 cpu_temperature 0 {
     format = "%degrees°C"
-    path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input"
+    path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp1_input"
     max_threshold = 80
 }