mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 23:39:54 +07:00
arc: check for cpufreqscaling addon
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
5e7e62b9d5
commit
82e403e69c
@ -454,7 +454,7 @@ function arcSettings() {
|
||||
initConfigKey "addons.storagepanel" "" "${USER_CONFIG_FILE}"
|
||||
addonSelection
|
||||
# Check for CPU Frequency Scaling
|
||||
if [ "${CPUFREQ}" == "true" ]; then
|
||||
if [ "${CPUFREQ}" == "true" ] && readConfigMap "addons" "${USER_CONFIG_FILE}" | grep -q "cpufreqscaling"; then
|
||||
# Select Governor for DSM
|
||||
initConfigKey "addons.cpufreqscaling" "" "${USER_CONFIG_FILE}"
|
||||
dialog --backtitle "$(backtitle)" --colors --title "CPU Frequency Scaling" \
|
||||
|
Loading…
Reference in New Issue
Block a user