Update Install.sh

This commit is contained in:
Erreur32 2017-07-20 15:51:28 +02:00
parent 855f66bfd1
commit 3515d4ebb9
1 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@
## clean terminal
clear;
echo -e "\n \e[34m Installation of MOTDs32 in progress... \e[0m"
echo -e "\n\e[34mInstallation of MOTDs32 in progress... \e[0m"
## Install command in bashrc
echo "cat /etc/motd" >> /root/.bashrc
@ -65,10 +65,10 @@ stty raw -echo
answer=$( while ! head -c 1 | grep -i '[ny]' ;do true ;done )
stty $old_stty_cfg
if echo "$answer" | grep -iq "^y" ;then
echo -e "\n \e[92m installation \e[0m ntp figlet \e[92m start\e[0m \n" ; apt-get install -y ntp figlet; make install
echo -e "\n \e[92m apt-get installation \e[0m Done \n"
echo -e "\n 1.\e[92m installation \e[0m ntp figlet \e[92m start\e[0m \n" ; apt-get install -y ntp figlet; make install
echo -e "\n\e[92m apt-get installation \e[0m Done \n"
else
echo -e "\n \e[91m No \e[0m continue installation"; make install
echo -e "\n 1.\e[92m ok no apt-get required \e[0m Installation continue... \n"; make install
fi
echo -e "\n"
@ -88,6 +88,6 @@ echo -e "\n 2.\e[92mROOT crontab\e[0m ADD (generation each 5 minutes)\n"
## Generate first stats
/usr/bin/motds32 -g
echo -e "\n \e[92mInstallation successfull !!\e[0m \n Use: /usr/bin/motds32 for any help"
echo -e "\n 3.\e[92mInstallation successfull !!\e[0m \n Use: /usr/bin/motds32 for any help"
#EOF