Update Install.sh
This commit is contained in:
parent
fa53b1095a
commit
ff6906793a
1 changed files with 3 additions and 3 deletions
|
@ -84,7 +84,7 @@ if [ -f /usr/bin/motd ]
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "\Copy files OK\n"
|
echo -e "\n -->\e[34m Copy files OK\n"
|
||||||
echo -e "\nDo you wish to install the required package?\n --> apt-get install ntp figlet ? (y/n) "
|
echo -e "\nDo you wish to install the required package?\n --> apt-get install ntp figlet ? (y/n) "
|
||||||
old_stty_cfg=$(stty -g)
|
old_stty_cfg=$(stty -g)
|
||||||
stty raw -echo
|
stty raw -echo
|
||||||
|
@ -113,9 +113,9 @@ fi
|
||||||
|
|
||||||
set -f
|
set -f
|
||||||
if crontab -l | grep -q '^/usr/bin/motds32$' && echo 'entry exists'; then
|
if crontab -l | grep -q '^/usr/bin/motds32$' && echo 'entry exists'; then
|
||||||
echo 'Crontab entry already exist'
|
echo '\nCrontab entry already exist'
|
||||||
else
|
else
|
||||||
echo 'Crontab entry does not exist ...'
|
echo '\nCrontab entry does not exist ...'
|
||||||
crontab << FIN
|
crontab << FIN
|
||||||
$(crontab -l)
|
$(crontab -l)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue