mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Merge pull request #1954 from porschemad911/freqfunctions
freqfunctions - governor file existence check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user