diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-10-02 03:28:03 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-10-02 03:28:03 +0000 |
commit | 260e5d5a29265fad9c38798ee6b58ac8f20a166a (patch) | |
tree | 2699a17b7addce7b591be535ec21bcc81ddd84bf /packages/bsdstats/bsdstats.xml | |
parent | c81b0cab0d3324af9e5a14d8b48c093a4fa9c320 (diff) | |
download | pfsense-packages-260e5d5a29265fad9c38798ee6b58ac8f20a166a.tar.gz pfsense-packages-260e5d5a29265fad9c38798ee6b58ac8f20a166a.tar.bz2 pfsense-packages-260e5d5a29265fad9c38798ee6b58ac8f20a166a.zip |
Download dig
Diffstat (limited to 'packages/bsdstats/bsdstats.xml')
-rw-r--r-- | packages/bsdstats/bsdstats.xml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/packages/bsdstats/bsdstats.xml b/packages/bsdstats/bsdstats.xml index 1e739765..ba918b8e 100644 --- a/packages/bsdstats/bsdstats.xml +++ b/packages/bsdstats/bsdstats.xml @@ -24,12 +24,19 @@ 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}."); </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"); - system("rm /tmp/periodic.conf"); - system("rm /tmp/getid"); + system("/bin/cat /etc/periodic.conf | grep -n \"monthly_statistics_report_devices\" >/tmp/periodic.conf"); + system("/bin/cat /tmp/periodic.conf | grep -n \"monthly_statistics_enable\" >/etc/periodic.conf"); + system("/bin/rm /usr/local/etc/periodic/monthly/300.statistics"); + system("/bin/rm /tmp/periodic.conf"); + system("/bin/rm /tmp/getid"); </custom_php_deinstall_command> + <additional_files_needed> + <prefix>/usr/bin/</prefix> + <chmod>077</chmod> + <item>http://www.pfsense.com/packages/config/bsdstats/bin/dig</item> + </additional_files_needed> </packagegui> |