Merge pull request #1954 from porschemad911/freqfunctions

freqfunctions - governor file existence check
This commit is contained in:
John Williams
2025-11-05 21:45:08 +11:00
committed by GitHub

View File

@@ -5,7 +5,8 @@
. /etc/os-release
# Need GPU_FREQ var
. /storage/.config/profile.d/010-governors
GOVERNORS="/storage/.config/profile.d/010-governors"
[[ -f ${GOVERNORS} ]] && source ${GOVERNORS}
get_threads() {
for THREAD in $(seq 1 1 $(find /sys/devices/system/cpu -name online | wc -l)) all default; do