aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid/squid.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@G5.local>2009-10-26 19:45:20 -0400
committerScott Ullrich <sullrich@G5.local>2009-10-26 19:45:20 -0400
commit88ec157ed5c3e59678c54c1f1c7d73fb50c6d968 (patch)
tree3fa5060e13a2039aee7d90ec92892b0afbdfc4c1 /config/squid/squid.inc
parent7154042af6e4d9aa8e3e26c3aba0bbbd6e7cb4cf (diff)
downloadpfsense-packages-88ec157ed5c3e59678c54c1f1c7d73fb50c6d968.tar.gz
pfsense-packages-88ec157ed5c3e59678c54c1f1c7d73fb50c6d968.tar.bz2
pfsense-packages-88ec157ed5c3e59678c54c1f1c7d73fb50c6d968.zip
Fix path, add comment about the code above not working
Diffstat (limited to 'config/squid/squid.inc')
-rw-r--r--config/squid/squid.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc
index f4c16925..5419034e 100644
--- a/config/squid/squid.inc
+++ b/config/squid/squid.inc
@@ -257,7 +257,8 @@ function squid_deinstall_command() {
$logdir = ($settings['log_dir'] ? $settings['log_dir'] : '/var/squid/log');
mwexec('rm -rf $cachedir');
mwexec('rm -rf $logdir');
- if(is_file("/var/squid/swap.state"))
+ // This should not be necessary but the above seems to not work!?
+ if(is_file("/var/squid/cache/swap.state"))
mwexec("rm -rf /var/squid/cache/swap.state");
mwexec('rm -f /usr/local/etc/rc.d/proxy_monitor.sh');
mwexec("ps awux | grep \"proxy_monitor\" | grep -v \"grep\" | grep -v \"php\" | awk '{ print $2 }' | xargs kill");