diff options
author | jim-p <jimp@pfsense.org> | 2010-10-14 08:50:50 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-10-14 08:51:35 -0400 |
commit | 6df06d5f64edb6a5e3781157acdbc7a78e3c5389 (patch) | |
tree | 7d5c52a657e1d051ad6558a76a5530ab2b662863 /config | |
parent | 90500f81124b4aa8c1c0147ed25522ee2714f78e (diff) | |
download | pfsense-packages-6df06d5f64edb6a5e3781157acdbc7a78e3c5389.tar.gz pfsense-packages-6df06d5f64edb6a5e3781157acdbc7a78e3c5389.tar.bz2 pfsense-packages-6df06d5f64edb6a5e3781157acdbc7a78e3c5389.zip |
Patch submitted by garga: BP: Changed default value of 'Hard disk cache system'
Diffstat (limited to 'config')
-rw-r--r-- | config/squid/squid.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc index 238fd37c..b2955f99 100644 --- a/config/squid/squid.inc +++ b/config/squid/squid.inc @@ -112,11 +112,17 @@ function squid_is_valid_acl($acl) { function squid_install_command() { global $config; + global $g; /* migrate existing csv config fields */ $settingsauth = $config['installedpackages']['squidauth']['config'][0]; $settingscache = $config['installedpackages']['squidcache']['config'][0]; $settingsnac = $config['installedpackages']['squidnac']['config'][0]; + /* Set storage system */ + if ($g['platform'] == "nanobsd") { + $config['installedpackages']['squidcache']['config'][0]['harddisk_cache_system'] = 'null'; + } + /* migrate auth settings */ if (!empty($settingsauth['no_auth_hosts'])) { if(strstr($settingsauth['no_auth_hosts'], ",")) { |