automated: fix arc patch

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2024-04-23 00:29:21 +02:00
committed by GitHub
parent 08c3056fd2
commit c0f5992f4e

View File

@@ -842,7 +842,7 @@ function arcAutomated() {
# read model config for dt and aes
MODEL="$(readConfigKey "model" "${USER_CONFIG_FILE}")"
DT="$(readModelKey "${MODEL}" "dt")"
ARCCONF="$(readModelKey "${M}" "arc.serial")"
ARCCONF="$(readModelKey "${MODEL}" "arc.serial")"
[ -n "${ARCCONF}" ] && ARCPATCH="true" || ARCPATCH="false"
if [ "${ARCPATCH}" = "true" ]; then
SN="$(readModelKey "${MODEL}" "arc.serial")"
@@ -1390,4 +1390,4 @@ echo -e "User: \033[1;34mroot\033[0m"
echo -e "Password: \033[1;34marc\033[0m"
echo
echo -e "Web Terminal:"
echo -e "Address: \033[1;34mhttp://${IPCON}:7681\033[0m"
echo -e "Address: \033[1;34mhttp://${IPCON}:7681\033[0m"