aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-07-30 01:41:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-07-30 01:41:41 +0000
commit8c3836d768b541e101094f6f24b93bd18e6aa6fc (patch)
tree4ca533dd6f107627349580bcd850d1349cb16ddf /packages
parent553b7fe9acdf613f37fea8bfaf057d9154e3f617 (diff)
downloadpfsense-packages-8c3836d768b541e101094f6f24b93bd18e6aa6fc.tar.gz
pfsense-packages-8c3836d768b541e101094f6f24b93bd18e6aa6fc.tar.bz2
pfsense-packages-8c3836d768b541e101094f6f24b93bd18e6aa6fc.zip
Do not include php files in ps awux
Diffstat (limited to 'packages')
-rw-r--r--packages/squid.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/squid.inc b/packages/squid.inc
index f6febd73..7b68a2e3 100644
--- a/packages/squid.inc
+++ b/packages/squid.inc
@@ -81,7 +81,7 @@ EOD;
}
/* kill any running proxy alarm scripts */
- mwexec("ps awux | grep \"proxy_monitor\" | grep -v \"grep\" | awk '{ print $2 }' | xargs kill");
+ mwexec("ps awux | grep \"proxy_monitor\" | grep -v \"grep\" | grep -v \"php\" | awk '{ print $2 }' | xargs kill");
/* restart proxy alarm scripts */
mwexec_bg("/usr/local/etc/rc.d/proxy_monitor.sh");
@@ -93,7 +93,7 @@ EOD;
function squid_deinstall_command() {
mwexec('rm -rf ' . CACHEDIR);
mwexec('rm -f /usr/local/etc/rc.d/proxy_monitor.sh');
- mwexec("ps awux | grep \"proxy_monitor\" | grep -v \"grep\" | awk '{ print $2 }' | xargs kill");
+ mwexec("ps awux | grep \"proxy_monitor\" | grep -v \"grep\" | grep -v \"php\" | awk '{ print $2 }' | xargs kill");
mwexec("ps awux | grep \"squid\" | grep -v \"grep\" | awk '{ print $2 }' | xargs kill");
mwexec("ps awux | grep \"dnsserver\" | grep -v \"grep\" | awk '{ print $2 }' | xargs kill");
mwexec("ps awux | grep \"unlinkd\" | grep -v \"grep\" | awk '{ print $2 }' | xargs kill");
@@ -335,7 +335,7 @@ EOD;
}
/* kill any running proxy alarm scripts */
- mwexec("ps awux | grep \"proxy_monitor\" | grep -v \"grep\" | awk '{ print $2 }' | xargs kill");
+ mwexec("ps awux | grep \"proxy_monitor\" | grep -v \"grep\" | grep -v \"php\" | awk '{ print $2 }' | xargs kill");
/* restart proxy alarm scripts */
mwexec_bg("/usr/local/etc/rc.d/proxy_monitor.sh");