Update install.sh

This commit is contained in:
Erreur32 2017-07-21 10:43:16 +02:00
parent f8e8dc971a
commit ec4d521db8

View file

@ -39,21 +39,23 @@ clear;
cat <<"EOF"
\033[1;32m | + |
| + |
\033[1;37m ,--. ,--. ,-----. ,--------.,------. ,----. ,---.
\033[1;37m | `.' |' .-. ''--. .--'| .-. \ ,---. '.-. |'.-. \
\033[1;37m | |'.'| || | | | | | | | \ :( .-' .' ; .-' .'
\033[1;37m | | | |' '-' ' | | | '--' /.-' `)/'-' |/ '-.
\033[1;37m `--' `--' `-----' `--' `-------' `----' `----' '-----'
,--. ,--. ,-----. ,--------.,------. ,----. ,---.
| `.' |' .-. ''--. .--'| .-. \ ,---. '.-. |'.-. \
| |'.'| || | | | | | | | \ :( .-' .' ; .-' .'
| | | |' '-' ' | | | '--' /.-' `)/'-' |/ '-.
`--' `--' `-----' `--' `-------' `----' `----' '-----'
By
\033[1;30m# MOTDstat is dynamicaly refreshing the /etc/motd file with current informations
\033[1;30m# about system status and usage.
EOF
echo -e "\033[1;30m# MOTDstat is dynamicaly refreshing the /etc/motd file with current informations"
echo -e "\033[1;30m# about system status and usage."
# Make sure only root can run our script
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2