From f1805b451e352cb99324437e69933498477e8b85 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Sun, 23 May 2021 11:33:12 -0500 Subject: [PATCH] add error screen --- home.admin/setup.scripts/eventInfoWait.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/home.admin/setup.scripts/eventInfoWait.sh b/home.admin/setup.scripts/eventInfoWait.sh index a9da465d6..e8c72d43e 100644 --- a/home.admin/setup.scripts/eventInfoWait.sh +++ b/home.admin/setup.scripts/eventInfoWait.sh @@ -51,6 +51,16 @@ elif [ "${eventID}" == "reboot" ]; then Shutting down for reboot. " 5 30 +elif [ "${eventID}" == "error" ]; then + + dialog --backtitle "${backtitle}" --cr-wrap --infobox " +SYSTEM RAN INTO AN ERROR: +${contentString} +------------------------------------ +Use terminal command to login: +ssh admin@${localip} +" 9 41 + elif [ "${eventID}" == "provision" ] || [ "${eventID}" == "recovering" ]; then dialog --backtitle "${backtitle}" --cr-wrap --infobox " @@ -195,7 +205,7 @@ Please connect a ${contentWords[0]} HDD or SSD to the device. " 7 35 -elif [ "${eventID}" == "erroHDD" ]; then +elif [ "${eventID}" == "errorHDD" ]; then # contentString --> detail error message dialog --backtitle "${backtitle}" --cr-wrap --infobox "