mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 02:09:15 +01:00
final setup SSH info
This commit is contained in:
parent
1acb0c7854
commit
26488eb0e9
@ -234,6 +234,20 @@ do
|
||||
fi
|
||||
echo "command to shutdown --> off"
|
||||
exit 1
|
||||
elif [ "${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
|
||||
else
|
||||
# every other state just push as event to SSH frontend
|
||||
/home/admin/setup.scripts/eventInfoWait.sh "${state}" "${message}"
|
||||
|
Loading…
Reference in New Issue
Block a user