You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
476 B
12 lines
476 B
2 years ago
|
[module/temperature]
|
||
|
type = internal/temperature
|
||
|
|
||
|
; for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
|
||
|
thermal-zone = /sys/class/thermal/thermal_zone0
|
||
|
|
||
|
; for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
|
||
|
hwmon-path = /sys/devices/pci0000:00/0000:00:01.1/0000:10:00.0/hwmon/hwmon2/temp1_input
|
||
|
|
||
|
format = <label>
|
||
|
|
||
|
label = %temperature-c%
|