arc: cleanup

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2024-01-27 18:13:04 +01:00
parent dbf14f133e
commit 73375029de

View File

@@ -456,9 +456,7 @@ function make() {
fi
done < <(readConfigMap "addons" "${USER_CONFIG_FILE}")
# Check for eMMC Boot
if [[ "${LOADER_DISK}" = /dev/mmcblk* ]]; then
echo "Boot Device is eMMC."
else
if [ ! "${LOADER_DISK}" = /dev/mmcblk* ]; then
deleteConfigKey "modules.mmc_block" "${USER_CONFIG_FILE}"
deleteConfigKey "modules.mmc_core" "${USER_CONFIG_FILE}"
fi