mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
add reboot info
This commit is contained in:
parent
ffc280796b
commit
880db21993
1 changed files with 18 additions and 18 deletions
|
@ -172,6 +172,23 @@ do
|
||||||
#echo "# controlFinalDialog.sh"
|
#echo "# controlFinalDialog.sh"
|
||||||
/home/admin/setup.scripts/controlFinalDialog.sh
|
/home/admin/setup.scripts/controlFinalDialog.sh
|
||||||
# exit for final setup reboot
|
# exit for final setup reboot
|
||||||
|
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
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -246,23 +263,6 @@ do
|
||||||
|
|
||||||
fi
|
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
|
done
|
||||||
|
|
||||||
echo "# menu loop received exit code ${exitMenuLoop} --> exit to terminal"
|
echo "# menu loop received exit code ${exitMenuLoop} --> exit to terminal"
|
||||||
|
|
Loading…
Add table
Reference in a new issue