Files
cloudron-box/setup/start/cloudron-motd

25 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-02-05 09:52:15 -08:00
#!/bin/bash
2019-02-05 14:58:44 -08:00
2019-02-07 14:07:30 -08:00
printf "**********************************************************************\n\n"
2019-02-05 09:52:15 -08:00
if [[ -z "$(ls -A /home/yellowtent/boxdata/mail/dkim)" ]]; then
2019-02-05 16:51:27 -08:00
printf "\t\t\tWELCOME TO CLOUDRON\n"
printf "\t\t\t-------------------\n"
2019-02-05 09:52:15 -08:00
2019-02-07 14:07:30 -08:00
printf '\n\e[1;32m%-6s\e[m\n\n' "Visit https://<IP> on your browser and accept the self-signed certificate to finish setup."
printf "Cloudron overview - https://cloudron.io/documentation/ \n"
printf "Cloudron setup - https://cloudron.io/documentation/installation/#setup \n"
2019-02-05 16:51:27 -08:00
else
printf "\t\t\tNOTE TO CLOUDRON ADMINS\n"
printf "\t\t\t-----------------------\n"
printf "Please do not run apt upgrade manually as it will update packages that\n"
printf "Cloudron relies on and may break your installation. Ubuntu security updates\n"
printf "are automatically installed on this server every night.\n"
printf "\n"
printf "Read more at https://cloudron.io/documentation/security/#os-updates\n"
fi
2019-02-05 16:51:27 -08:00
printf "\nFor help and more information, visit https://forum.cloudron.io\n\n"
2019-02-07 14:07:30 -08:00
printf "**********************************************************************\n"