diff --git a/files/initrd/opt/arc/include/storage.sh b/files/initrd/opt/arc/include/storage.sh index 3bfe8f7e..d496a7a0 100755 --- a/files/initrd/opt/arc/include/storage.sh +++ b/files/initrd/opt/arc/include/storage.sh @@ -153,8 +153,8 @@ function getmapSelection() { # Ask for Portmap dialog --backtitle "$(backtitle)" --title "Arc Disks" \ --menu "SataPortMap or SataRemap?\n* Recommended Option" 8 60 0 \ - 1 "SataPortMap: Active Ports ${REMAP1}" \ - 2 "SataPortMap: Max Ports ${REMAP2}" \ + 1 "DiskIdxMap: Active Ports ${REMAP1}" \ + 2 "DiskIdxMap: Max Ports ${REMAP2}" \ 3 "SataRemap: Remove blank Ports ${REMAP3}" \ 4 "AhciRemap: Remove blank Ports (experimental) ${REMAP4}" \ 5 "I want to set my own Portmap" \ @@ -164,11 +164,11 @@ function getmapSelection() { [ -z "${resp}" ] && return 1 if [ ${resp} -eq 1 ]; then dialog --backtitle "$(backtitle)" --title "Arc Disks" \ - --infobox "Use SataPortMap:\nActive Ports!" 4 40 + --infobox "Use DiskIdxMap:\nActive Ports!" 4 40 writeConfigKey "arc.remap" "acports" "${USER_CONFIG_FILE}" elif [ ${resp} -eq 2 ]; then dialog --backtitle "$(backtitle)" --title "Arc Disks" \ - --infobox "Use SataPortMap:\nMax Ports!" 4 40 + --infobox "Use DiskIdxMap:\nMax Ports!" 4 40 writeConfigKey "arc.remap" "maxports" "${USER_CONFIG_FILE}" elif [ ${resp} -eq 3 ]; then dialog --backtitle "$(backtitle)" --title "Arc Disks" \ diff --git a/files/initrd/opt/arc/init.sh b/files/initrd/opt/arc/init.sh index 0bc22af9..a7b7b94a 100755 --- a/files/initrd/opt/arc/init.sh +++ b/files/initrd/opt/arc/init.sh @@ -21,6 +21,10 @@ printf "\033[1;30m%*s\033[A\n" ${COLUMNS} "" printf "\033[1;34m%*s\033[0m\n" ${COLUMNS} "${BANNER}" printf "\033[1;34m%*s\033[0m\n" $(((${#TITLE} + ${COLUMNS}) / 2)) "${TITLE}" printf "\033[1;30m%*s\033[0m\n" ${COLUMNS} "" +TITLE="Boot:" +[ ${EFI} -eq 1 ] && TITLE+=" [UEFI]" || TITLE+=" [Legacy]" +TITLE+=" [${BUS}]" +printf "\033[1;34m%*s\033[0m\n" $(((${#TITLE} + ${COLUMNS}) / 2)) "${TITLE}" # If user config file not exists, initialize it if [ ! -f "${USER_CONFIG_FILE}" ]; then @@ -120,7 +124,7 @@ writeConfigKey "pid" ${PID} "${USER_CONFIG_FILE}" # Inform user echo -e "Loader Disk: \033[1;34m${LOADER_DISK}\033[0m" -echo -e "Loader Disk Type: \033[1;34m${BUS^^}\033[0m" +echo -e "Loader Disk Type: \033[1;34m${BUS}\033[0m" # Load keymap name LAYOUT="$(readConfigKey "layout" "${USER_CONFIG_FILE}")"