aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3/34
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-30 23:35:31 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-30 23:35:31 +0200
commit77f503b6f9dbdc5f74061345f6340e3c3d989e87 (patch)
tree2db78a52d26ef5ded521892a842acc3a8449c9de /config/squid3/34
parentdd50146443b450cecc4a767cb8ab16a2a5ae2e2b (diff)
downloadpfsense-packages-77f503b6f9dbdc5f74061345f6340e3c3d989e87.tar.gz
pfsense-packages-77f503b6f9dbdc5f74061345f6340e3c3d989e87.tar.bz2
pfsense-packages-77f503b6f9dbdc5f74061345f6340e3c3d989e87.zip
Code style and comment tweaks
Diffstat (limited to 'config/squid3/34')
-rwxr-xr-xconfig/squid3/34/squid.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc
index 0c26ff1f..d2013f83 100755
--- a/config/squid3/34/squid.inc
+++ b/config/squid3/34/squid.inc
@@ -394,8 +394,9 @@ function squid_install_command() {
squid_chown_recursive($dir, SQUID_UID, SQUID_GID);
}
- if (!file_exists(SQUID_CONFBASE . '/mime.conf') && file_exists(SQUID_CONFBASE . '/mime.conf.default'))
+ if (!file_exists(SQUID_CONFBASE . '/mime.conf') && file_exists(SQUID_CONFBASE . '/mime.conf.default')) {
copy(SQUID_CONFBASE . '/mime.conf.default', SQUID_CONFBASE . '/mime.conf');
+ }
}
@@ -1534,7 +1535,7 @@ adaptation_access service_avi_resp allow all
EOF;
- // check if icap is enabled on rc.conf.local
+ // check if clamav/c_icap is enabled in rc.conf.local
// XXX: This whole thing sucks and should be redone to install/enable services in pfSense way
if (file_exists("/etc/rc.conf.local")) {
$rc_old_file = file("/etc/rc.conf.local");