Update Install.sh
This commit is contained in:
parent
a11d4d506f
commit
855f66bfd1
1 changed files with 6 additions and 3 deletions
|
@ -65,14 +65,15 @@ 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[92mOK installation of\e[0m ntp figlet \e[92m start\e[0m " ; apt-get install -y ntp figlet; make install
|
||||
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"
|
||||
else
|
||||
echo -e "\n \e[91m No \e[0m continue installation"; make install
|
||||
fi
|
||||
|
||||
echo -e "\n"
|
||||
|
||||
## Install Crontab
|
||||
echo -e "\n Add ENTRY in \e[92mROOT crontab\e[0m (generation each 5 minutes)\n"
|
||||
|
||||
crontab << FIN
|
||||
$(crontab -l)
|
||||
|
@ -82,9 +83,11 @@ $(crontab -l)
|
|||
###
|
||||
FIN
|
||||
|
||||
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 \nuse /usr/bin/motds32 for any help"
|
||||
echo -e "\n \e[92mInstallation successfull !!\e[0m \n Use: /usr/bin/motds32 for any help"
|
||||
|
||||
#EOF
|
Loading…
Reference in a new issue