From 9acb1fb82d63d45feb3dd480fab792229e33f9b1 Mon Sep 17 00:00:00 2001 From: Erreur32 Date: Tue, 18 Jul 2017 23:27:05 +0200 Subject: [PATCH] Update Install.sh --- Install.sh | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/Install.sh b/Install.sh index 1bc84f3..3642392 100755 --- a/Install.sh +++ b/Install.sh @@ -11,6 +11,7 @@ # original project: Pavol Krigler # + echo -n "Do you wish to install the missing package (y/n)? " old_stty_cfg=$(stty -g) stty raw -echo @@ -24,24 +25,21 @@ else fi -## install missing package -# apt-get install -y ntp figlet +### Insdtall modules -## start Installation - -#make install cp Stats32 /etc/motds32/Stats32 ## Install Crontab -echo "add in crontab --> */5 * * * * /usr/bin/motds32 -g (generation each 5 minutes)" -#crontab << FIN -#$(crontab -l) +echo "add ENTRY in crontab (generation each 5 minutes)" -### MOTDs32 generation -#*/5 * * * * /etc/motds32/Stats32 > /etc/motds32/Stats32.txt | /usr/bin/motds32 -g 2>1 +crontab << FIN +$(crontab -l) + +### MOTDs32 generation (5 min) +*/5 * * * * /usr/bin/motds32 -g 2>1 ### -#FIN +FIN /usr/bin/motds32 -g