fix
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
# `/sys/devices/virtual/thermal/thermal_zone3/hwmon6/temp1_input` = `/sys/class/hwmon/hwmon6/temp1_input`
|
# `/sys/devices/virtual/thermal/thermal_zone3/hwmon6/temp1_input` = `/sys/class/hwmon/hwmon6/temp1_input`
|
||||||
|
|
||||||
threshold=$1
|
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}
|
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
|
# the value is reported in milli-degrees celsius. we divide by 1000 to convert to degrees celsius
|
||||||
|
|||||||
Reference in New Issue
Block a user