Update Install.sh
This commit is contained in:
parent
855f66bfd1
commit
3515d4ebb9
1 changed files with 5 additions and 5 deletions
10
Install.sh
10
Install.sh
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
## clean terminal
|
## clean terminal
|
||||||
clear;
|
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
|
## Install command in bashrc
|
||||||
echo "cat /etc/motd" >> /root/.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 )
|
answer=$( while ! head -c 1 | grep -i '[ny]' ;do true ;done )
|
||||||
stty $old_stty_cfg
|
stty $old_stty_cfg
|
||||||
if echo "$answer" | grep -iq "^y" ;then
|
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 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"
|
echo -e "\n\e[92m apt-get installation \e[0m Done \n"
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
echo -e "\n"
|
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
|
## Generate first stats
|
||||||
/usr/bin/motds32 -g
|
/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
|
#EOF
|
Loading…
Reference in a new issue