Skip to content

Commit

Permalink
Merge pull request #3078 from AuxXxilium/dev
Browse files Browse the repository at this point in the history
arc: fix module selection for custom builds
  • Loading branch information
AuxXxilium authored Aug 18, 2024
2 parents 27ec503 + 91e895a commit e931b0e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions files/initrd/opt/arc/arc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ function arcVersion() {
fi
fi
dialog --backtitle "$(backtitle)" --title "Arc Config" \
--infobox "Reconfiguring Addons, Modules and Synoinfo" 3 50
--infobox "Reconfiguring Addons, Cmdline, Modules and Synoinfo" 3 60
# Reset Synoinfo
writeConfigKey "synoinfo" "{}" "${USER_CONFIG_FILE}"
while IFS=': ' read -r KEY VALUE; do
Expand All @@ -313,11 +313,13 @@ function arcVersion() {
else
KVERP="${KVER}"
fi
# Rewrite modules
writeConfigKey "modules" "{}" "${USER_CONFIG_FILE}"
while read -r ID DESC; do
writeConfigKey "modules.\"${ID}\"" "" "${USER_CONFIG_FILE}"
done < <(getAllModules "${PLATFORM}" "${KVERP}")
if [ "${AUTOMATED}" == "false" ]; then
# Rewrite modules
writeConfigKey "modules" "{}" "${USER_CONFIG_FILE}"
while read -r ID DESC; do
writeConfigKey "modules.\"${ID}\"" "" "${USER_CONFIG_FILE}"
done < <(getAllModules "${PLATFORM}" "${KVERP}")
fi
# Check for Only Version
if [ "${ONLYVERSION}" == "true" ]; then
# Build isn't done
Expand Down

0 comments on commit e931b0e

Please sign in to comment.