Update Install.sh

This commit is contained in:
Erreur32 2017-07-20 11:00:56 +02:00
parent 5d2030db61
commit 2679189019
1 changed files with 4 additions and 4 deletions

View File

@ -25,17 +25,16 @@ else
fi fi
##INstall command in bashrc ## Install command in bashrc
echo "cat /etc/motd" >> /root/.bashrc echo "cat /etc/motd" >> /root/.bashrc
### Insdtall modules ## Insdtall modules
#mkdir /etc/motds32 #mkdir /etc/motds32
cp Stats32 /etc/motds32/Stats32 cp Stats32 /etc/motds32/Stats32
ln -s /usr/bin/motds32 /usr/bin/motd
## Install Crontab ## Install Crontab
echo "add ENTRY in crontab (generation each 5 minutes)" echo "add ENTRY in crontab (generation each 5 minutes)"
crontab << FIN crontab << FIN
@ -46,5 +45,6 @@ $(crontab -l)
### ###
FIN FIN
## Generate first stats
/usr/bin/motds32 -g /usr/bin/motds32 -g