From f1f762777776eba3591cfe137785cf1ce48402b8 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 2 Oct 2006 03:37:20 +0000 Subject: Script no longer gives us our id immediately. It's delayed by 15+ minutes. --- packages/bsdstats/bsdstats.xml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/bsdstats/bsdstats.xml b/packages/bsdstats/bsdstats.xml index ba918b8e..7c93fc10 100644 --- a/packages/bsdstats/bsdstats.xml +++ b/packages/bsdstats/bsdstats.xml @@ -21,11 +21,7 @@ } 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}."); - update_status("Thanks for installing BSDStats. Your id is {$getid}."); - update_output_window("Thanks for installing BSDStats. Your id is {$getid}."); + mwexec_bg("/usr/local/etc/periodic/monthly/300.statistics"); system("/bin/cat /etc/periodic.conf | grep -n \"monthly_statistics_report_devices\" >/tmp/periodic.conf"); -- cgit v1.2.3