mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 06:48:00 +01:00
add reboot info
This commit is contained in:
parent
ffc280796b
commit
880db21993
1 changed files with 18 additions and 18 deletions
|
@ -172,9 +172,26 @@ do
|
|||
#echo "# controlFinalDialog.sh"
|
||||
/home/admin/setup.scripts/controlFinalDialog.sh
|
||||
# exit for final setup reboot
|
||||
exit 0
|
||||
state="reboot"
|
||||
fi
|
||||
|
||||
# exit loop/script in case if system shutting down
|
||||
if [ "${state}" == "reboot" ] || [ "${state}" == "shutdown" ]; then
|
||||
clear
|
||||
echo "***********************************************************"
|
||||
echo "RaspiBlitz going to ${state}"
|
||||
echo "***********************************************************"
|
||||
if [ "${state}" == "reboot" ]; then
|
||||
if [ "${message}" == "finalsetup" ]; then
|
||||
echo "This is the final setup reboot - you will get disconnected."
|
||||
fi
|
||||
echo "SSH again into system with:"
|
||||
echo "ssh admin@${localip}"
|
||||
echo "***********************************************************"
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
#####################################
|
||||
# INITIAL BLOCKCHAIN SYNC (SUBLOOP)
|
||||
#####################################
|
||||
|
@ -246,23 +263,6 @@ do
|
|||
|
||||
fi
|
||||
|
||||
# exit loop/script in case if system shutting down
|
||||
if [ "${state}" == "reboot" ] || [ "${state}" == "shutdown" ]; then
|
||||
clear
|
||||
echo "***********************************************************"
|
||||
echo "RaspiBlitz going to ${state}"
|
||||
echo "***********************************************************"
|
||||
if [ "${state}" == "reboot" ]; then
|
||||
if [ "${message}" == "finalsetup" ]; then
|
||||
echo "This is the final setup reboot - you will get disconnected."
|
||||
fi
|
||||
echo "SSH again into system with:"
|
||||
echo "ssh admin@${localip}"
|
||||
echo "***********************************************************"
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
echo "# menu loop received exit code ${exitMenuLoop} --> exit to terminal"
|
||||
|
|
Loading…
Add table
Reference in a new issue