diff --git a/src/sbin/opnsense-installer b/src/sbin/opnsense-installer index 8c04ffd7e..a4d8e428e 100755 --- a/src/sbin/opnsense-installer +++ b/src/sbin/opnsense-installer @@ -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 "."