diff --git a/files/initrd/opt/arc/arc.sh b/files/initrd/opt/arc/arc.sh index 3cc4d54d..e6eb7362 100755 --- a/files/initrd/opt/arc/arc.sh +++ b/files/initrd/opt/arc/arc.sh @@ -92,7 +92,7 @@ function backtitle() { BACKTITLE+="Patch: ${ARCPATCH} | " BACKTITLE+="Config: ${CONFDONE} | " BACKTITLE+="Build: ${BUILDDONE} | " - BACKTITLE+="${MACHINE}(${BUS^^})" + BACKTITLE+="${MACHINE}(${BUS})" echo "${BACKTITLE}" } @@ -359,7 +359,7 @@ function arcsettings() { fi # Check for more then 8 Ethernet Ports DEVICENIC="$(readConfigKey "device.nic" "${USER_CONFIG_FILE}")" - if [ "${DEVICENIC}" -gt 8 ]; then + if [ ${DEVICENIC} -gt 8 ]; then dialog --backtitle "$(backtitle)" --title "Arc Warning" \ --msgbox "WARN: You have more then 8 Ethernet Ports.\nThere are only 8 supported by DSM." 0 0 fi @@ -371,7 +371,7 @@ function arcsettings() { # Check for NVMe only HARDDRIVES="$(readConfigKey "device.harddrives" "${USER_CONFIG_FILE}")" NVMEDRIVES="$(readConfigKey "device.nvmedrives" "${USER_CONFIG_FILE}")" - if [ "${BUS^^}" = "SATA" ] && [ $((${HARDDRIVES} - ${NVMEDRIVES})) -eq 1 ] && [ ! "${MODEL}" = "SA6400" ]; then + if [ "${BUS}" = "SATA" ] && [ $((${HARDDRIVES} - ${NVMEDRIVES})) -eq 1 ] && [ ! "${MODEL}" = "SA6400" ]; then dialog --backtitle "$(backtitle)" --title "Arc Warning" \ --msgbox "WARN: You have only NVMe Drives.\nDSM will not boot without a SATA Drive.\nYou can use SA6400 and NVMeSystem Addon." 0 0 elif [ $((${HARDDRIVES} - ${NVMEDRIVES})) -eq 0 ] && [ ! "${MODEL}" = "SA6400" ]; then