#!/bin/sh
/usr/share/awstats/tools/update.sh
exit

# dit is oud maar werkt wel
for cfg in `find /etc/awstats -name 'awstats.*.conf' -printf '%f\n' | sed 's/^awstats\.\(.*\)\.conf/\1/'`; do
    /usr/lib/cgi-bin/awstats.pl -config=$cfg -update >/dev/null
    #echo $cfg
done
