From 3e010b781a522573ea986d104c2acecbd4c5153d Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Wed, 13 Nov 2024 23:46:36 +0100 Subject: [PATCH] arc: fix copy Signed-off-by: AuxXxilium --- files/initrd/opt/arc/arc.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/initrd/opt/arc/arc.sh b/files/initrd/opt/arc/arc.sh index e9defb4a..ddd27491 100755 --- a/files/initrd/opt/arc/arc.sh +++ b/files/initrd/opt/arc/arc.sh @@ -89,13 +89,14 @@ function backtitlep() { # Model Selection function arcModel() { STEP="model" - if [ ! -f "${S_FILE}" ] || [ ! -f "${P_FILE}" ]; then + if [ ! -f "${S_FILE}" ] || [ ! -f "${P_FILE}" ]; then updateConfigs fi # Check for Hardware ID checkHardwareID dialog --backtitle "$(backtitlep)" --title "Model" \ --infobox "Reading Models..." 3 25 + ARCCONF="$(readConfigKey "${MODEL:-SA6400}.serial" "${S_FILE}")" # Loop menu RESTRICT=1 PS="$(readConfigEntriesArray "platforms" "${P_FILE}" | sort)"