From d1c63bd6c39aba306af96111e50814ee84d56993 Mon Sep 17 00:00:00 2001 From: heuzef Date: Fri, 10 May 2019 17:54:51 +0200 Subject: [PATCH] creation du fichier de log a l installation --- install.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 237c70b..cbc1937 100755 --- a/install.sh +++ b/install.sh @@ -70,9 +70,15 @@ echo "exit 0" >> /etc/rc.local # echo 'MAILTO=""' | crontab -u allo-gg - echo '*/20 * * * * allo-gg /var/www/html/scripts/check_services.sh > /dev/null' | crontab -u allo-gg - +# Creation du fichier de log +date > /var/www/html/ui/allo-gg.log +echo "Installation du module ALLO-GG" >> /var/www/html/ui/allo-gg.log +echo "----------------------------" >> /var/www/html/ui/allo-gg.log +echo >> /var/www/html/ui/allo-gg.log + echo echo "----------------------------" -echo "Install done ! Rebooting ..." -sleep 5 +echo "Installation OK ! Redemarrage en cours ..." +sleep 3 sh /var/www/html/scripts/reboot.sh