This commit is contained in:
rootzoll 2021-05-19 19:53:57 -05:00
parent 7c9062e490
commit b8d7d0c973

View file

@ -22,11 +22,11 @@ contentWords=($2)
contentString=$2 contentString=$2
# 3rd PARAMETER (optional): Place of display - could be "lcd" or "ssh" (defalt) # 3rd PARAMETER (optional): Place of display - could be "lcd" or "ssh" (defalt)
displayMode=$3 mode=$3
if [ "${displayMode}" == "" ]; then if [ "${mode}" == "" ]; then
displayMode="ssh" mode="ssh"
fi fi
if [ "${displayMode}" != "lcd" ] && [ "${displayMode}" != "ssh" ]; then if [ "${mode}" != "lcd" ] && [ "${mode}" != "ssh" ]; then
echo "error='unknown 3rd parameter value'" echo "error='unknown 3rd parameter value'"
exit 1 exit 1
fi fi
@ -110,6 +110,13 @@ If this takes too long please check
your connection to internet router. your connection to internet router.
" 7 41 " 7 41
elif [ "${eventID}" == "waitsetup" ] && [ "${mode}" == "ssh" ]; then
dialog --backtitle "${backtitle}" --cr-wrap --infobox "
Preparing Setup
Please wait ...
" 6 24
elif [ "${eventID}" = "noIP-LAN" ] || [ "${eventID}" = "noIP-WIFI" ]; then elif [ "${eventID}" = "noIP-LAN" ] || [ "${eventID}" = "noIP-WIFI" ]; then
# this event is mostly for LCD/HDMI display # this event is mostly for LCD/HDMI display