made thermal.sh command have the zone be configurable.

This commit is contained in:
2022-02-17 16:26:34 +00:00
parent 6807764242
commit df4fc168f5
2 changed files with 10 additions and 3 deletions
+4 -1
View File
@@ -1,8 +1,11 @@
!/bin/bash
#!/bin/bash
# degrees in C
THERMAL_ALERT=75
# see: /sys/class/thermal/thermal_zone*
THERMAL_ZONE=0
STORAGE_MONITOR=("/")
# must declare associated array explicitly