BSDStats bsdstats 0.1 BSDStats BSDStats http://bsdstats.hub.org/
Diagnostics
system("echo monthly_statistics_report_devices=yes >> /etc/periodic.conf"); system("echo monthly_statistics_enable=yes >> /etc/periodic.conf"); system("/usr/local/etc/periodic/monthly/300.statistics"); $getid=file_get_contents("/tmp/getid"); log_error("Thanks for installing BSDStats. Your id is {$getid}."); system("cat /etc/periodic.conf | grep -n \"monthly_statistics_report_devices\" >/tmp/periodic.conf"); system("cat /tmp/periodic.conf | grep -n \"monthly_statistics_enable\" >/etc/periodic.conf"); system("rm /usr/local/etc/periodic/monthly/300.statistics"); system("rm /tmp/periodic.conf"); system("rm /tmp/getid");