diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-08-07 21:37:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-08-07 21:37:19 +0000 |
commit | 0cb6ac8f24209ca8efbbf0d54440aa89337e0949 (patch) | |
tree | dad8377994e0ee64c37b40ff25b7b40637584a2d /packages | |
parent | 490cb57c97473842f0f4b93a11a738135dd1a00c (diff) | |
download | pfsense-packages-0cb6ac8f24209ca8efbbf0d54440aa89337e0949.tar.gz pfsense-packages-0cb6ac8f24209ca8efbbf0d54440aa89337e0949.tar.bz2 pfsense-packages-0cb6ac8f24209ca8efbbf0d54440aa89337e0949.zip |
Add BSDStats package.
From their webpage:
The mission of this site is to try and come up with semi-accurate numbers for both advocacy, and marketing, of the *BSD Operating Systems.
More specifically, we are trying to prove to the various vendors out there that *BSD should be viewed as a serious Operating System, and not just a hobbiest system, for support (ie. hardware drivers) purposes.
Primarily started to provide numbers for FreeBSD deployments, we are designing the system so that NetBSD, OpenBSD and DragonFlyBSD can participate as well.
The script used for reporting can be found in the FreeBSD ports tree under sysutils/bsdstats.
If you have any questions, or suggestions, please email scrappy@freebsd.org
Diffstat (limited to 'packages')
-rw-r--r-- | packages/bsdstats/bsdstats.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/bsdstats/bsdstats.xml b/packages/bsdstats/bsdstats.xml new file mode 100644 index 00000000..35e3ba01 --- /dev/null +++ b/packages/bsdstats/bsdstats.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8" ?> +<packagegui> + <title>BSDStats</title> + <name>bsdstats</name> + <version>0.1</version> + <!-- Menu is where this packages menu will appear --> + <menu> + <name>BSDStats</name> + <tooltiptext>BSDStats</tooltiptext> + <url></url> + <section>Diagnostics</section> + </menu> + <custom_php_install_command> + 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"); + </custom_php_install_command> + <custom_php_deinstall_command> + 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"); + </custom_php_deinstall_command> +</packagegui> |