diff options
author | doktornotor <notordoktor@gmail.com> | 2015-10-02 06:50:43 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-10-02 06:50:43 +0200 |
commit | 3b4a7b470986618cb653c2cfc75bd1d6117ae82d (patch) | |
tree | b287db9cbb83d63438e86f41f5fc7b3067f0cc1f /config | |
parent | 4faa71b099615038128a7f7a3611498c74021bfd (diff) | |
download | pfsense-packages-3b4a7b470986618cb653c2cfc75bd1d6117ae82d.tar.gz pfsense-packages-3b4a7b470986618cb653c2cfc75bd1d6117ae82d.tar.bz2 pfsense-packages-3b4a7b470986618cb653c2cfc75bd1d6117ae82d.zip |
Stop symlinking the damned PBI rcfiles over and over again
Diffstat (limited to 'config')
-rwxr-xr-x | config/squid3/34/squid.inc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc index 5a71c627..56c8c853 100755 --- a/config/squid3/34/squid.inc +++ b/config/squid3/34/squid.inc @@ -1718,13 +1718,6 @@ EOF; squid_chown_recursive($dir_path, $dir_user, "wheel"); } - $rcd_files = scandir(SQUID_LOCALBASE."/etc/rc.d"); - foreach ($rcd_files as $rcd_file) { - if (SQUID_LOCALBASE != '/usr/local' && !file_exists("/usr/local/etc/rc.d/{$rcd_file}")) { - symlink(SQUID_LOCALBASE . "/etc/rc.d/{$rcd_file}", "/usr/local/etc/rc.d/{$rcd_file}"); - } - } - // write advanced clamav/icap config files file_put_contents(SQUID_LOCALBASE . "/etc/c-icap/squidclamav.conf", base64_decode($antivirus_config['squidclamav']), LOCK_EX); file_put_contents(SQUID_LOCALBASE . "/etc/c-icap/c-icap.conf", base64_decode($antivirus_config['c-icap_conf']), LOCK_EX); |