From a58150944676ca8db7d62905d262e180b436e385 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sun, 17 Mar 2024 18:37:42 +0100 Subject: [PATCH] storage: fix typo Signed-off-by: AuxXxilium --- files/initrd/opt/arc/include/storage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/initrd/opt/arc/include/storage.sh b/files/initrd/opt/arc/include/storage.sh index b00d8e9..7b99a7b 100755 --- a/files/initrd/opt/arc/include/storage.sh +++ b/files/initrd/opt/arc/include/storage.sh @@ -141,7 +141,7 @@ function getmapSelection() { SATAPORTMAPMAX=$(awk '{print $1}' "${TMP_PATH}/drivesmax") SATAPORTMAP=$(awk '{print $1}' "${TMP_PATH}/drivescon") SATAREMAP=$(awk '{print $1}' "${TMP_PATH}/remap" | sed 's/.$//') - EXTERNALCONTROLLER="$(readConfigKey "arc.externalcontroller" "${USER_CONFIG_FILE}")" + EXTERNALCONTROLLER="$(readConfigKey "device.externalcontroller" "${USER_CONFIG_FILE}")" # Show recommended Option to user if [[ -n "${SATAREMAP}" && "${EXTERNALCONTROLLER}" = "true" && "${MACHINE}" = "NATIVE" ]]; then writeConfigKey "arc.remap" "maxports" "${USER_CONFIG_FILE}"