arc: rework model list

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2024-04-21 11:33:07 +02:00
parent 79e99e4b21
commit fe22c28416

View File

@@ -143,7 +143,7 @@ function arcModel() {
[[ "${DT}" = "false" || "${PLATFORM}" = "epyc7002" ]] && HBAS="x" || HBAS=""
[ "${DT}" = "false" ] && USBS="x" || USBS=""
[[ "${M}" = "DS220+" || "${M}" = "DS224+" || "${M}" = "DS918+" || "${M}" = "DS1019+" || "${M}" = "DS1621xs+" || "${M}" = "RS1619xs+" ]] && M_2_CACHE="" || M_2_CACHE="x"
[[ "${DT}" = "true" && "${M}" != "DS220+" && "${M}" != "DS224+" ]] && M_2_STORAGE="x" || M_2_STORAGE=""
[ "${DT}" = "true" ] && [ "${M}" != "DS220+" || "${M}" != "DS224+" ] && M_2_STORAGE="x" || M_2_STORAGE=""
# Check id model is compatible with CPU
COMPATIBLE=1
if [ ${RESTRICT} -eq 1 ]; then