This commit is contained in:
committer@tuxwarrior
2026-03-04 13:48:13 -05:00
parent cbfcce6faa
commit c2440baed8

View File

@@ -11,9 +11,9 @@
# `/sys/devices/virtual/thermal/thermal_zone3/hwmon6/temp1_input` = `/sys/class/hwmon/hwmon6/temp1_input`
threshold=$1
temp_file=$1
temp_file=$2
threshold=${threshold:=60}
threshold=${threshold:=59}
temp_file=${temp_file:=/sys/devices/virtual/thermal/thermal_zone3/hwmon6/temp1_input}
# the value is reported in milli-degrees celsius. we divide by 1000 to convert to degrees celsius