|
|
@@ -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 |