Update install.sh
This commit is contained in:
parent
f8e8dc971a
commit
ec4d521db8
1 changed files with 11 additions and 9 deletions
20
install.sh
20
install.sh
|
@ -39,21 +39,23 @@ clear;
|
||||||
|
|
||||||
cat <<"EOF"
|
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
|
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
|
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
|
# Make sure only root can run our script
|
||||||
if [[ $EUID -ne 0 ]]; then
|
if [[ $EUID -ne 0 ]]; then
|
||||||
echo "This script must be run as root" 1>&2
|
echo "This script must be run as root" 1>&2
|
||||||
|
|
Loading…
Reference in a new issue