From 5fa2c3a1c61f9146b91955944814901b1b43a4cc Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sat, 16 Nov 2024 20:43:46 +0100 Subject: [PATCH] arc: cleanup more Signed-off-by: AuxXxilium --- files/initrd/opt/arc/arc.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/files/initrd/opt/arc/arc.sh b/files/initrd/opt/arc/arc.sh index 7ca295c6..30f3bcab 100755 --- a/files/initrd/opt/arc/arc.sh +++ b/files/initrd/opt/arc/arc.sh @@ -413,8 +413,6 @@ function arcPatch() { ARCCONF="$(readConfigKey "${MODEL}.serial" "${S_FILE}")" # Check for Custom Build if [ "${ARCMODE}" == "automated" ]; then - [ -z "${ARCCONF}" ] && checkHardwareID || true - sleep 1 ARCCONF="$(readConfigKey "${MODEL}.serial" "${S_FILE}")" [ -n "${ARCCONF}" ] && SN="$(generateSerial "${MODEL}" "true")" || SN="$(generateSerial "${MODEL}" "false")" [ -n "${ARCCONF}" ] && writeConfigKey "arc.patch" "true" "${USER_CONFIG_FILE}" || writeConfigKey "arc.patch" "false" "${USER_CONFIG_FILE}" @@ -429,8 +427,6 @@ function arcPatch() { resp=$(cat ${TMP_PATH}/resp) [ -z "${resp}" ] && return 1 if [ ${resp} -eq 1 ]; then - [ -z "${ARCCONF}" ] && checkHardwareID || true - sleep 1 ARCCONF="$(readConfigKey "${MODEL}.serial" "${S_FILE}")" [ -n "${ARCCONF}" ] && SN="$(generateSerial "${MODEL}" "true")" || SN="$(generateSerial "${MODEL}" "false")" [ -n "${ARCCONF}" ] && writeConfigKey "arc.patch" "true" "${USER_CONFIG_FILE}" || writeConfigKey "arc.patch" "false" "${USER_CONFIG_FILE}"