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)"