aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Neuhaeuser <dn@arbor.de>2015-04-07 23:40:54 +0200
committerDennis Neuhaeuser <dn@arbor.de>2015-04-07 23:40:54 +0200
commit7b0a96900bede09855b41853f9876ecc00d0939b (patch)
tree1991fbac665a9deeacdef95d13b715f0699a70d8
parent31ba635828e90b40bde802f107cfaa25adf4ca76 (diff)
downloadpfsense-packages-7b0a96900bede09855b41853f9876ecc00d0939b.tar.gz
pfsense-packages-7b0a96900bede09855b41853f9876ecc00d0939b.tar.bz2
pfsense-packages-7b0a96900bede09855b41853f9876ecc00d0939b.zip
correction of path to squid binaray
corrected the base to the squid binary should be SQUID_BASE instead of SQUID_LOCALBASE
-rw-r--r--config/squidGuard/squidguard_configurator.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/squidGuard/squidguard_configurator.inc b/config/squidGuard/squidguard_configurator.inc
index 38104c89..ca66d89a 100644
--- a/config/squidGuard/squidguard_configurator.inc
+++ b/config/squidGuard/squidguard_configurator.inc
@@ -702,7 +702,7 @@ function sg_rebuild_db($shtag, $rdb_dbhome, $rdb_itemslist)
$sh_scr[] = "chown -R -v " . OWNER_NAME . " $dbhome";
# restart squid for changes to take effects
- $sh_scr[] = SQUID_LOCALBASE . "/sbin/squid -k reconfigure";
+ $sh_scr[] = SQUID_BASE . "/sbin/squid -k reconfigure";
# store & exec sh
$sh_scr = implode("\n", $sh_scr);
@@ -2266,7 +2266,7 @@ function sg_update_blacklist($from_file)
set_file_access($dbhome, OWNER_NAME, 0755);
squidguard_update_log("Reconfigure Squid proxy.");
- mwexec(SQUID_LOCALBASE . "/sbin/squid -k reconfigure");
+ mwexec(SQUID_BASE . "/sbin/squid -k reconfigure");
squidguard_update_log("Blacklist update complete.");
@@ -2405,7 +2405,7 @@ function squidguard_blacklist_restore_arcdb()
squidguard_rebuild_db("arc_", $dbhome, $files);
squidguard_update_log("Reconfigure Squid proxy.");
- mwexec(SQUID_LOCALBASE . "/sbin/squid -k reconfigure");
+ mwexec(SQUID_BASE . "/sbin/squid -k reconfigure");
conf_mount_ro();
squidguard_update_log("Restore success.");