installer: one more tweak for powering down

This commit is contained in:
Franco Fichtner 2025-01-23 10:42:46 +01:00
parent 9b40922f1d
commit 7335db7fb1

View File

@ -39,7 +39,7 @@ ACTION=Rebooting
FINAL=reboot
if [ ${RET} -eq 42 ]; then
ACTION=Halting
ACTION="Powering down"
FINAL="halt -p"
elif [ ${RET} -ne 0 ]; then
exit 0
@ -47,16 +47,20 @@ fi
echo "The installation finished successfully."
echo
echo "After booting, open a web browser and navigate to"
echo "https://192.168.1.1 (or the LAN IP address). The console"
echo "can also be used to set a different LAN IP."
echo
echo "Your browser may report the HTTPS certificate as untrusted"
echo "and ask you to accept it. This is normal, as the default"
echo "certificate will be self-signed and cannot be validated by"
echo "an external root authority."
echo
echo -n "Rebooting in 5 seconds. CTRL-C to abort"
if [ ${RET} -ne 42 ]; then
echo "After booting, open a web browser and navigate to"
echo "https://192.168.1.1 (or the LAN IP address). The console"
echo "can also be used to set a different LAN IP."
echo
echo "Your browser may report the HTTPS certificate as untrusted"
echo "and ask you to accept it. This is normal, as the default"
echo "certificate will be self-signed and cannot be validated by"
echo "an external root authority."
echo
fi
echo -n "${ACTION} in 5 seconds. CTRL-C to abort"
for n in 5 4 3 2 1; do
echo -n "."