diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-04-09 09:11:49 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-04-09 09:11:49 -0300 |
commit | 6477fcaeef04b041d05d8fa1dd57ebac94355c5f (patch) | |
tree | 3160b846b7faa2717d7ed31c4486a75120316d8d /config | |
parent | 8efa1efc477c33dac392615187194e1f698906a8 (diff) | |
parent | 89750f086c25dfde9130f520091ba7639e6a31b9 (diff) | |
download | pfsense-packages-6477fcaeef04b041d05d8fa1dd57ebac94355c5f.tar.gz pfsense-packages-6477fcaeef04b041d05d8fa1dd57ebac94355c5f.tar.bz2 pfsense-packages-6477fcaeef04b041d05d8fa1dd57ebac94355c5f.zip |
Merge pull request #852 from dneuhaeuser/patch-3
Diffstat (limited to 'config')
-rw-r--r-- | config/squidGuard/squidguard_configurator.inc | 6 |
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."); |