first commit

This commit is contained in:
Erreur32 2020-03-30 22:25:26 +02:00
parent 5435edfcab
commit f61472e9f5
1 changed files with 5 additions and 5 deletions

View File

@ -148,7 +148,7 @@ tput cup 11 0
else
grepmot=`grep '/etc/motd' /root/.bashrc`
echo -e " \e[1;30m Code bash found: \e[0m>>\e[0m $grepmot \e[0m<<\n"
echo -e " -->\e[34m Code bash: \e[92mOK\e[0m"
echo -e " -->\e[34m Code bash: \e[92mOK\e[0m"
fi
# Check if MOTDs32 is already add
@ -156,7 +156,7 @@ tput cup 11 0
if [ -f "/etc/motds32/Stats32" ]
then
echo -e " -->\e[34m Stats32 \e[92mFOUND\e[0m"
echo -e " -->\e[34m Stats32 \e[92mOK\e[0m"
cp Stats32 /etc/motds32/Stats32 -Rf
else
cp Stats32 /etc/motds32/Stats32 -Rf
@ -169,16 +169,16 @@ tput cup 11 0
echo -e " -->\e[31m figlet not FOUND\e[0m"
else
cp -Rf fonts/chunky.flf /usr/share/figlet/
echo -e " -->\e[34m Font figlet \e[92mOK\e[0m"
echo -e " -->\e[34m Font figlet \e[92mOK\e[0m"
fi
# Check if motd is installed correctly
if [ -f "/usr/bin/motd" ]
then
echo -e " -->\e[34m motd check \e[92mOK\e[0m\n"
echo -e " -->\e[34m motd check \e[92mOK\e[0m\n"
else
ln -s /usr/bin/motds32 /usr/bin/motd
echo -e " -->\e[34m motd bin \e[92mOK\e[0m\n"
echo -e " -->\e[34m motd bin \e[92mOK\e[0m\n"
fi
## Install Crontab
if crontab -l | grep -q '/usr/bin/motds32'; then