mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 05:49:53 +07:00
arc-functions: fix syntax
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
e14850f5c0
commit
84ab5bf0b1
@ -49,7 +49,7 @@ function addonSelection() {
|
||||
while read -r ADDON DESC; do
|
||||
arrayExistItem "${ADDON}" "${!ADDONS[@]}" && ACT="on" || ACT="off"
|
||||
if [ "${ADDON}" = "cpufreqscaling" ]; then
|
||||
[ -d "/sys/devices/system/cpu/cpu0/cpufreq" ] && continue
|
||||
[ ! -d "/sys/devices/system/cpu/cpu0/cpufreq" ] && continue
|
||||
fi
|
||||
echo -e "${ADDON} \"${DESC}\" ${ACT}" >>"${TMP_PATH}/opts"
|
||||
done <<<$(availableAddons "${PLATFORM}")
|
||||
|
Loading…
Reference in New Issue
Block a user