Removed dependencies on cpupower, as the functionality it was used for can be easily substituted

This commit is contained in:
2022-09-20 14:05:55 -04:00
parent 0e90cfe317
commit de18475901
3 changed files with 14 additions and 10 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
for CPU in $(seq 0 $(($(nproc) - 1))); do
echo $1 > /sys/devices/system/cpu/cpu"$CPU"/cpufreq/scaling_governor
cat /sys/devices/system/cpu/cpu"$CPU"/cpufreq/scaling_governor
done