#!/bin/sh
JOURNAL=/opt/postinstalle/20240416.log
WGET=/usr/bin/wget
WGET_OPT=-q -nc -T 60 -Y off -C off -a $JOURNAL
echo DEBUT : `date '+%D %Hh%M:%S'`


#0
echo .:0:. CREATION DES REPERTOIRES .:.
mkdir -p /opt/postinstalle/awstats

#1
echo .:1:. TELECHARGEMENT .:.
echo Vous pourrez consulter le journal des telechargements : /opt/postinstalle/20240416.log
cd /opt/postinstalle/awstats

#2
echo .:2:. INSTALLATION .:.
echo awstats
cd /opt/postinstalle/awstats
wget -N http://sme.swerts-knudsen.dk/downloads/AwStats/install_awstats.sh
sh install_awstats.sh



echo FIN : `date '+%D %Hh%M:%S'`
Fermer