aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-07-30 01:36:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-07-30 01:36:43 +0000
commit5c4e47d1d34d46417399bc89f0b04c41dcca1a84 (patch)
tree19bef9b9df3bfb34f48250a4248346334a2c8dab
parent800e5303a8a7fc014bcfa61733b8aff48b5f8014 (diff)
downloadpfsense-packages-5c4e47d1d34d46417399bc89f0b04c41dcca1a84.tar.gz
pfsense-packages-5c4e47d1d34d46417399bc89f0b04c41dcca1a84.tar.bz2
pfsense-packages-5c4e47d1d34d46417399bc89f0b04c41dcca1a84.zip
Start in background
-rw-r--r--packages/squid.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/squid.inc b/packages/squid.inc
index 66e693c9..e02d75e9 100644
--- a/packages/squid.inc
+++ b/packages/squid.inc
@@ -83,7 +83,7 @@ EOD;
/* kill any running proxy alarm scripts */
mwexec("ps awux | grep \"proxy_monitor\" | grep -v \"grep\" | awk '{ print $6 }' | xargs kill");
/* restart proxy alarm scripts */
- mwexec("/usr/local/etc/rc.d/proxy_monitor.sh");
+ mwexec_bg("/usr/local/etc/rc.d/proxy_monitor.sh");
if (!file_exists(SQUID_CONFBASE . '/mime.conf') && file_exists(SQUID_CONFBASE . '/mime.conf.default'))
copy(SQUID_CONFBASE . '/mime.conf.default', SQUID_CONFBASE . '/mime.conf');
@@ -337,7 +337,7 @@ EOD;
/* kill any running proxy alarm scripts */
mwexec("ps awux | grep \"proxy_monitor\" | grep -v \"grep\" | awk '{ print $6 }' | xargs kill");
/* restart proxy alarm scripts */
- mwexec("/usr/local/etc/rc.d/proxy_monitor.sh");
+ mwexec_bg("/usr/local/etc/rc.d/proxy_monitor.sh");
return $conf;
}