mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 13:02:21 +02:00
final setup SSH info
This commit is contained in:
@@ -234,6 +234,20 @@ do
|
|||||||
fi
|
fi
|
||||||
echo "command to shutdown --> off"
|
echo "command to shutdown --> off"
|
||||||
exit 1
|
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
|
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}"
|
||||||
|
Reference in New Issue
Block a user