aboutsummaryrefslogtreecommitdiffstats
path: root/poc/cputemp2maxfreq.sh
diff options
context:
space:
mode:
Diffstat (limited to 'poc/cputemp2maxfreq.sh')
-rwxr-xr-xpoc/cputemp2maxfreq.sh19
1 files changed, 18 insertions, 1 deletions
diff --git a/poc/cputemp2maxfreq.sh b/poc/cputemp2maxfreq.sh
index f2da851..027e054 100755
--- a/poc/cputemp2maxfreq.sh
+++ b/poc/cputemp2maxfreq.sh
@@ -1,5 +1,22 @@
#!/bin/sh
-
+#
+# This file is part of cputemp2maxfreq.
+#
+# Copyright (C) 2023, 2024 pa4wdh
+#
+# cputemp2maxfreq is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# cputemp2maxfreq is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with cputemp2maxfreq. If not, see <https://www.gnu.org/licenses/>.
+#
TEMP_INPUT=/sys/devices/virtual/thermal/thermal_zone0/temp
TEMP_MAX=70000
FREQ_STEP=100000