diff options
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'], ",")) { |