diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2007-01-17 14:55:28 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2007-01-17 14:55:28 +0000 |
commit | 52f26ef898832ec0ddc7cd2b733d9ff470803dca (patch) | |
tree | ff16953f06e2070d49bf48698052900969bc4995 /packages/squid/squid.inc | |
parent | 4ee0d459c2794313454eddc9188c071dbb8bcebf (diff) | |
download | pfsense-packages-52f26ef898832ec0ddc7cd2b733d9ff470803dca.tar.gz pfsense-packages-52f26ef898832ec0ddc7cd2b733d9ff470803dca.tar.bz2 pfsense-packages-52f26ef898832ec0ddc7cd2b733d9ff470803dca.zip |
Attempt no 2 to correctly start squid at boot.
Diffstat (limited to 'packages/squid/squid.inc')
-rw-r--r-- | packages/squid/squid.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc index 25078785..c7ec429a 100644 --- a/packages/squid/squid.inc +++ b/packages/squid/squid.inc @@ -174,7 +174,7 @@ function squid_install_command() { $rc = array(); $rc['file'] = 'squid.sh'; $rc['start'] = <<<EOD -if [ -z "`ps auxw | grep \"[(]squid) -D\"|awk '{print $2}'`" ];then +if [ -z "`ps auxw | grep "[s]quid -D"|awk '{print $2}'`" ];then /usr/local/sbin/squid -D fi @@ -188,7 +188,7 @@ killall pinger 2>/dev/null EOD; $rc['restart'] = <<<EOD -if [ -z "`ps auxw | grep \"[(]squid) -D\"|awk '{print $2}'`" ];then +if [ -z "`ps auxw | grep "[s]quid -D"|awk '{print $2}'`" ];then /usr/local/sbin/squid -D else /usr/local/sbin/squid -k reconfigure |