aboutsummaryrefslogtreecommitdiffstats
path: root/packages/bsdstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-08-07 21:42:51 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-08-07 21:42:51 +0000
commitf0b126e094cd801957b7986a2dc9aa24e5f1d480 (patch)
treeab7a2c78c3694ffcc55414c206917bd6f6f2205e /packages/bsdstats
parentf9a60a6f63569544950c9201a4794537c382cbc6 (diff)
downloadpfsense-packages-f0b126e094cd801957b7986a2dc9aa24e5f1d480.tar.gz
pfsense-packages-f0b126e094cd801957b7986a2dc9aa24e5f1d480.tar.bz2
pfsense-packages-f0b126e094cd801957b7986a2dc9aa24e5f1d480.zip
Log to the system log the bsdstats installation id
Diffstat (limited to 'packages/bsdstats')
-rw-r--r--packages/bsdstats/bsdstats.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/bsdstats/bsdstats.xml b/packages/bsdstats/bsdstats.xml
index 35e3ba01..13b2d2fd 100644
--- a/packages/bsdstats/bsdstats.xml
+++ b/packages/bsdstats/bsdstats.xml
@@ -14,6 +14,8 @@
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}.");
</custom_php_install_command>
<custom_php_deinstall_command>
system("cat /etc/periodic.conf | grep -n \"monthly_statistics_report_devices\" >/tmp/periodic.conf");