mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +01:00
fix missing state
This commit is contained in:
parent
449b0a226c
commit
7cd267c421
2 changed files with 5 additions and 0 deletions
|
@ -97,6 +97,9 @@ while :
|
|||
if [ "${setupPhase}" != "done" ] || [ "${state}" == "reboot" ] || [ "${state}" == "shutdown" ] || [ "${state}" == "copytarget" ] || [ "${state}" == "copysource" ] || [ "${state}" == "copystation" ]; then
|
||||
|
||||
# show status info during boot & setup & repair on LCD
|
||||
if [ "${state}" == "" ]; then
|
||||
state="nostate"
|
||||
fi
|
||||
/home/admin/setup.scripts/eventInfoWait.sh "${state}" "${message}" lcd
|
||||
sleep 1
|
||||
continue
|
||||
|
|
|
@ -324,6 +324,8 @@ MAINMENU > REPAIR > REPAIR-LND > RETRYSCB
|
|||
echo "https://github.com/rootzoll/raspiblitz#support"
|
||||
echo "command to shutdown --> off"
|
||||
exit 1
|
||||
elif [ "${state}" == "" ]; then
|
||||
echo "state(${state}) message(${message})"
|
||||
else
|
||||
# every other state just push as event to SSH frontend
|
||||
/home/admin/setup.scripts/eventInfoWait.sh "${state}" "${message}"
|
||||
|
|
Loading…
Add table
Reference in a new issue