change dialog layout

This commit is contained in:
rootzoll 2021-05-18 21:16:34 -05:00
parent 597b3e8dc8
commit 9f22d4d494

View file

@ -93,16 +93,16 @@ elif [ "${eventID}" == "noHDD" ]; then
Waiting for HDD/SSD ... Waiting for HDD/SSD ...
Please connect a ${contentWords[0]} Please connect a ${contentWords[0]}
HDD or SSD to the device. HDD or SSD to the device.
" 8 35 " 7 35
elif [ "${eventID}" == "sdtoosmall" ]; then elif [ "${eventID}" == "sdtoosmall" ]; then
# contentWords[1] --> size string (for example '16GB') # contentWords[1] --> size string (for example '16GB')
dialog --backtitle "${backtitle}" --cr-wrap --infobox " dialog --backtitle "${backtitle}" --cr-wrap --infobox "
PROBLEM: SD CARD IS TOO SMALL PROBLEM: SD CARD IS TOO SMALL
Minimum of ${contentWords[1]} needed Minimum of ${contentWords[0]} needed
Cut power & create fresh sd card Cut power & create fresh sd card
" 8 40 " 7 40
################################################ ################################################
# 2) GENERIC EVENT # 2) GENERIC EVENT