mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 18:00:22 +01:00
fix missing state
This commit is contained in:
parent
449b0a226c
commit
7cd267c421
@ -97,6 +97,9 @@ while :
|
|||||||
if [ "${setupPhase}" != "done" ] || [ "${state}" == "reboot" ] || [ "${state}" == "shutdown" ] || [ "${state}" == "copytarget" ] || [ "${state}" == "copysource" ] || [ "${state}" == "copystation" ]; then
|
if [ "${setupPhase}" != "done" ] || [ "${state}" == "reboot" ] || [ "${state}" == "shutdown" ] || [ "${state}" == "copytarget" ] || [ "${state}" == "copysource" ] || [ "${state}" == "copystation" ]; then
|
||||||
|
|
||||||
# show status info during boot & setup & repair on LCD
|
# show status info during boot & setup & repair on LCD
|
||||||
|
if [ "${state}" == "" ]; then
|
||||||
|
state="nostate"
|
||||||
|
fi
|
||||||
/home/admin/setup.scripts/eventInfoWait.sh "${state}" "${message}" lcd
|
/home/admin/setup.scripts/eventInfoWait.sh "${state}" "${message}" lcd
|
||||||
sleep 1
|
sleep 1
|
||||||
continue
|
continue
|
||||||
|
@ -324,6 +324,8 @@ MAINMENU > REPAIR > REPAIR-LND > RETRYSCB
|
|||||||
echo "https://github.com/rootzoll/raspiblitz#support"
|
echo "https://github.com/rootzoll/raspiblitz#support"
|
||||||
echo "command to shutdown --> off"
|
echo "command to shutdown --> off"
|
||||||
exit 1
|
exit 1
|
||||||
|
elif [ "${state}" == "" ]; then
|
||||||
|
echo "state(${state}) message(${message})"
|
||||||
else
|
else
|
||||||
# every other state just push as event to SSH frontend
|
# every other state just push as event to SSH frontend
|
||||||
/home/admin/setup.scripts/eventInfoWait.sh "${state}" "${message}"
|
/home/admin/setup.scripts/eventInfoWait.sh "${state}" "${message}"
|
||||||
|
Loading…
Reference in New Issue
Block a user