aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-07-30 01:28:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-07-30 01:28:23 +0000
commitf44e1bd1bed12adc4f8cd0e3d07a35adb5d6d9ea (patch)
treefe1a6f0a69154897e3671d1ac13f0f2ad6890958 /packages/squid.inc
parentd16980667f598ba0446426b43e420129bc257e13 (diff)
downloadpfsense-packages-f44e1bd1bed12adc4f8cd0e3d07a35adb5d6d9ea.tar.gz
pfsense-packages-f44e1bd1bed12adc4f8cd0e3d07a35adb5d6d9ea.tar.bz2
pfsense-packages-f44e1bd1bed12adc4f8cd0e3d07a35adb5d6d9ea.zip
Kill proxy monitor on package deinstallation
Diffstat (limited to 'packages/squid.inc')
-rw-r--r--packages/squid.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/squid.inc b/packages/squid.inc
index 642ff987..7ef3e9f4 100644
--- a/packages/squid.inc
+++ b/packages/squid.inc
@@ -92,7 +92,8 @@ EOD;
function squid_deinstall_command() {
mwexec('rm -rf ' . CACHEDIR);
- mwexec('rm -rf /usr/local/etc/rc.d/proxy_monitor.sh');
+ mwexec('rm -f /usr/local/etc/rc.d/proxy_monitor.sh');
+ mwexec("ps awux | grep \"proxy_monitor\" | awk '{ print $6 }' | xargs kill");
filter_configure();
}