#!/bin/sh

. /etc/dnsgraph.conf

if [ -z "$STATS" ]; then
	/usr/bin/dnsanalise.pl -c
else
	/usr/bin/dnsanalise.pl -c -l "$STATS"
fi
cd "$TARGET" && /usr/bin/dnsreport.pl > index.html
