Skip to content

Commit

Permalink
Merge pull request AuxXxilium#2559 from AuxXxilium/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
AuxXxilium committed Jul 20, 2024
2 parents a379851 + b58cfa5 commit 6b266c9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions files/initrd/opt/arc/arc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ function arcModel() {
[ "${DT}" == "false" ] && USBS="int/ext" || USBS="ext"
[[ "${M}" == "DS918+" || "${M}" == "DS1019+" || "${M}" == "DS1621xs+" || "${M}" == "RS1619xs+" ]] && M_2_CACHE="+" || M_2_CACHE="x"
[[ "${M}" == "DS220+" || "${M}" == "DS224+" ]] && M_2_CACHE=""
[ "${DT}" == "false" ] && M_2_STORAGE="" || M_2_STORAGE="+"
[[ "${M}" == "DS220+" || "${M}" == "DS224+" ]] && M_2_STORAGE=""
[[ "${M}" == "DS220+" || "${M}" == "DS224+" || "${M}" == "DS918+" || "${M}" == "DS1019+" || "${M}" == "DS1621xs+" || "${M}" == "RS1619xs+" ]] && M_2_STORAGE="" || M_2_STORAGE="+"
# Check id model is compatible with CPU
if [ ${RESTRICT} -eq 1 ]; then
for F in "${FLAGS}"; do
Expand Down Expand Up @@ -197,7 +196,7 @@ function arcModel() {
resp=$(cat ${TMP_PATH}/resp)
PLATFORM="$(grep -w "${resp}" "${TMP_PATH}/modellist" | awk '{print $2}' | head -n 1)"
dialog --backtitle "$(backtitle)" --colors \
--title "Platform Info" --textbox "./informations/${PLATFORM}.yml" 15 80
--title "Platform Info" --textbox "./informations/${PLATFORM}.yml" 70 80
;;
255) # ESC -> Exit
return 1
Expand Down

0 comments on commit 6b266c9

Please sign in to comment.