aboutsummaryrefslogtreecommitdiffstats
path: root/packages/bsdstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-10-02 03:37:20 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-10-02 03:37:20 +0000
commitf1f762777776eba3591cfe137785cf1ce48402b8 (patch)
treefebd31f37ed6d424c6c74d917e0440e02643198b /packages/bsdstats
parent260e5d5a29265fad9c38798ee6b58ac8f20a166a (diff)
downloadpfsense-packages-f1f762777776eba3591cfe137785cf1ce48402b8.tar.gz
pfsense-packages-f1f762777776eba3591cfe137785cf1ce48402b8.tar.bz2
pfsense-packages-f1f762777776eba3591cfe137785cf1ce48402b8.zip
Script no longer gives us our id immediately. It's delayed by 15+ minutes.
Diffstat (limited to 'packages/bsdstats')
-rw-r--r--packages/bsdstats/bsdstats.xml6
1 files changed, 1 insertions, 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");
</custom_php_install_command>
<custom_php_deinstall_command>
system("/bin/cat /etc/periodic.conf | grep -n \"monthly_statistics_report_devices\" >/tmp/periodic.conf");