arc-functions: fix syntax
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user