From ec4d521db8ba1bbccb4c4895dabac154d90fd1af Mon Sep 17 00:00:00 2001 From: Erreur32 Date: Fri, 21 Jul 2017 10:43:16 +0200 Subject: [PATCH] Update install.sh --- install.sh | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/install.sh b/install.sh index 329d78e..16df6d7 100755 --- a/install.sh +++ b/install.sh @@ -39,21 +39,23 @@ clear; cat <<"EOF" -\033[1;32m Installation of MOTDs32 | + Stats32 | + Installation of MOTDs32 | + Stats32 | -\033[1;37m ,--. ,--. ,-----. ,--------.,------. ,----. ,---. -\033[1;37m | `.' |' .-. ''--. .--'| .-. \ ,---. '.-. |'.-. \ -\033[1;37m | |'.'| || | | | | | | | \ :( .-' .' ; .-' .' -\033[1;37m | | | |' '-' ' | | | '--' /.-' `)/'-' |/ '-. -\033[1;37m `--' `--' `-----' `--' `-------' `----' `----' '-----' + ,--. ,--. ,-----. ,--------.,------. ,----. ,---. + | `.' |' .-. ''--. .--'| .-. \ ,---. '.-. |'.-. \ + | |'.'| || | | | | | | | \ :( .-' .' ; .-' .' + | | | |' '-' ' | | | '--' /.-' `)/'-' |/ '-. + `--' `--' `-----' `--' `-------' `----' `----' '-----' By Erreur32 -\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