tree: more formatting

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-08-26 12:54:51 -04:00
parent 7d7d719e2d
commit d6609e191c
2 changed files with 7 additions and 7 deletions

View File

@ -72,12 +72,12 @@ function addonSelection() {
done done
ADDONSINFO="$(readConfigEntriesArray "addons" "${USER_CONFIG_FILE}")" ADDONSINFO="$(readConfigEntriesArray "addons" "${USER_CONFIG_FILE}")"
if [ "${NANOVER}" == "2" ]; then if [ "${NANOVER}" == "2" ]; then
ADDONSINFO+="\n\n\Z1Warning: \ZnDSM 7.2.2 isn't supported by all Addons!" ADDONSINFO+="\nWarning: DSM 7.2.2 isn't supported by all Addons!"
dialog --backtitle "$(backtitle)" --title "DSM Addons" \ dialog --backtitle "$(backtitle)" --title "DSM Addons" \
--msgbox "DSM Addons selected:\n\n${ADDONSINFO}" 9 50 --msgbox "DSM Addons selected:\n${ADDONSINFO}" 10 50
else else
dialog --backtitle "$(backtitle)" --title "DSM Addons" \ dialog --backtitle "$(backtitle)" --title "DSM Addons" \
--msgbox "DSM Addons selected:\n\n${ADDONSINFO}" 6 50 --msgbox "DSM Addons selected:\n${ADDONSINFO}" 7 50
fi fi
} }

View File

@ -484,7 +484,7 @@ function arcSettings() {
if [ "${PLATFORM}" != "epyc7002" ]; then if [ "${PLATFORM}" != "epyc7002" ]; then
if [ "${DT}" == "true" ] && [ "${EXTERNALCONTROLLER}" == "true" ]; then if [ "${DT}" == "true" ] && [ "${EXTERNALCONTROLLER}" == "true" ]; then
dialog --backtitle "$(backtitle)" --title "Arc Warning" \ dialog --backtitle "$(backtitle)" --title "Arc Warning" \
--msgbox "WARN: You use a HBA/Raid Controller and selected a DT Model.\nThis is still an experimental." 6 80 --msgbox "WARN: You use a HBA/Raid Controller and selected a DT Model.\nThis is still an experimental." 6 70
fi fi
fi fi
# Check for more then 8 Ethernet Ports # Check for more then 8 Ethernet Ports
@ -492,7 +492,7 @@ function arcSettings() {
MODELNIC="$(readConfigKey "${MODEL}.ports" "${S_FILE}" 2>/dev/null)" MODELNIC="$(readConfigKey "${MODEL}.ports" "${S_FILE}" 2>/dev/null)"
if [ ${DEVICENIC} -gt 8 ]; then if [ ${DEVICENIC} -gt 8 ]; then
dialog --backtitle "$(backtitle)" --title "Arc Warning" \ dialog --backtitle "$(backtitle)" --title "Arc Warning" \
--msgbox "WARN: You have more NIC (${DEVICENIC}) then 8 NIC.\nOnly 8 supported by DSM." 6 80 --msgbox "WARN: You have more NIC (${DEVICENIC}) then 8 NIC.\nOnly 8 supported by DSM." 6 60
fi fi
if [ ${DEVICENIC} -gt ${MODELNIC} ] && [ "${ARCPATCH}" == "true" ]; then if [ ${DEVICENIC} -gt ${MODELNIC} ] && [ "${ARCPATCH}" == "true" ]; then
dialog --backtitle "$(backtitle)" --title "Arc Warning" \ dialog --backtitle "$(backtitle)" --title "Arc Warning" \
@ -501,12 +501,12 @@ function arcSettings() {
# Check for AES # Check for AES
if [ "${AESSYS}" == "false" ]; then if [ "${AESSYS}" == "false" ]; then
dialog --backtitle "$(backtitle)" --title "Arc Warning" \ dialog --backtitle "$(backtitle)" --title "Arc Warning" \
--msgbox "WARN: Your System doesn't support Hardwareencryption in DSM. (AES)" 5 80 --msgbox "WARN: Your System doesn't support Hardwareencryption in DSM. (AES)" 5 70
fi fi
# Check for CPUFREQ # Check for CPUFREQ
if [ "${CPUFREQ}" == "false" ]; then if [ "${CPUFREQ}" == "false" ]; then
dialog --backtitle "$(backtitle)" --title "Arc Warning" \ dialog --backtitle "$(backtitle)" --title "Arc Warning" \
--msgbox "WARN: Your System doesn't support CPU Frequency Scaling in DSM." 5 80 --msgbox "WARN: Your System doesn't support CPU Frequency Scaling in DSM." 5 70
fi fi
fi fi
EMMCBOOT="$(readConfigKey "emmcboot" "${USER_CONFIG_FILE}")" EMMCBOOT="$(readConfigKey "emmcboot" "${USER_CONFIG_FILE}")"