cloudron-setup: highlight reboot in red

This commit is contained in:
Girish Ramakrishnan
2018-04-04 09:55:22 -07:00
parent e7b26e5655
commit affb420181

View File

@@ -205,10 +205,10 @@ while true; do
sleep 10
done
echo -e "\n\n${GREEN}Visit https://<IP> and accept the self-signed certificate to finish setup once the server has rebooted.${DONE}"
echo -e "\n\n${GREEN}Visit https://<IP> and accept the self-signed certificate to finish setup.${DONE}"
if [[ "${rebootServer}" == "true" ]]; then
echo -e "\nRebooting this server now to let changes take effect.\n"
echo -e "\n${RED}Rebooting this server now to let changes take effect.${DONE}\n"
systemctl stop mysql # sometimes mysql ends up having corrupt privilege tables
systemctl reboot
fi