aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-07-30 01:09:55 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-07-30 01:09:55 +0000
commite31c5371aef8fb018f28eae7f39e6fa60caac95b (patch)
tree6cf58c3f4e9c757f7f5584b07a18a94b50ddde4a /packages
parent16b9b145c01f238884cf92183796d9a9208839fe (diff)
downloadpfsense-packages-e31c5371aef8fb018f28eae7f39e6fa60caac95b.tar.gz
pfsense-packages-e31c5371aef8fb018f28eae7f39e6fa60caac95b.tar.bz2
pfsense-packages-e31c5371aef8fb018f28eae7f39e6fa60caac95b.zip
Add proxy monitor alarm script
Diffstat (limited to 'packages')
-rw-r--r--packages/squid.inc1
-rw-r--r--packages/squid.xml5
2 files changed, 6 insertions, 0 deletions
diff --git a/packages/squid.inc b/packages/squid.inc
index e28b31e6..b481f0cf 100644
--- a/packages/squid.inc
+++ b/packages/squid.inc
@@ -87,6 +87,7 @@ EOD;
function squid_deinstall_command() {
mwexec('rm -rf ' . CACHEDIR);
+ mwexec('rm -rf /usr/local/etc/rc.d/proxy_monitor.sh');
filter_configure();
}
diff --git a/packages/squid.xml b/packages/squid.xml
index b6fe58c5..d2664332 100644
--- a/packages/squid.xml
+++ b/packages/squid.xml
@@ -27,6 +27,11 @@
<additional_files_needed>
<item>http://www.pfsense.org/packages/config/squid_users.xml</item>
</additional_files_needed>
+ <additional_files_needed>
+ <item>http://www.pfsense.org/packages/config/proxy_monitor.sh</item>
+ <prefix>/usr/local/etc/rc.d/</prefix>
+ <chmod>0755</chmod>
+ </additional_files_needed>
<custom_php_install_command>
squid_install_command();
</custom_php_install_command>