first commit
This commit is contained in:
parent
5435edfcab
commit
f61472e9f5
10
install.sh
10
install.sh
|
@ -148,7 +148,7 @@ tput cup 11 0
|
||||||
else
|
else
|
||||||
grepmot=`grep '/etc/motd' /root/.bashrc`
|
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[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
|
fi
|
||||||
|
|
||||||
# Check if MOTDs32 is already add
|
# Check if MOTDs32 is already add
|
||||||
|
@ -156,7 +156,7 @@ tput cup 11 0
|
||||||
|
|
||||||
if [ -f "/etc/motds32/Stats32" ]
|
if [ -f "/etc/motds32/Stats32" ]
|
||||||
then
|
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
|
cp Stats32 /etc/motds32/Stats32 -Rf
|
||||||
else
|
else
|
||||||
cp Stats32 /etc/motds32/Stats32 -Rf
|
cp Stats32 /etc/motds32/Stats32 -Rf
|
||||||
|
@ -169,16 +169,16 @@ tput cup 11 0
|
||||||
echo -e " -->\e[31m figlet not FOUND\e[0m"
|
echo -e " -->\e[31m figlet not FOUND\e[0m"
|
||||||
else
|
else
|
||||||
cp -Rf fonts/chunky.flf /usr/share/figlet/
|
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
|
fi
|
||||||
|
|
||||||
# Check if motd is installed correctly
|
# Check if motd is installed correctly
|
||||||
if [ -f "/usr/bin/motd" ]
|
if [ -f "/usr/bin/motd" ]
|
||||||
then
|
then
|
||||||
echo -e " -->\e[34m motd check \e[92mOK\e[0m\n"
|
echo -e " -->\e[34m motd check \e[92mOK\e[0m\n"
|
||||||
else
|
else
|
||||||
ln -s /usr/bin/motds32 /usr/bin/motd
|
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
|
fi
|
||||||
## Install Crontab
|
## Install Crontab
|
||||||
if crontab -l | grep -q '/usr/bin/motds32'; then
|
if crontab -l | grep -q '/usr/bin/motds32'; then
|
||||||
|
|
Loading…
Reference in New Issue