aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2014-04-08 00:36:02 +0200
committerPiBa-NL <pba_2k3@yahoo.com>2014-04-08 00:36:02 +0200
commit1e686a3273231d7b458779f84144be4ba148caad (patch)
treeeb76ba6a89cfe89fe0f3561310c99dbe6dbe37e1 /config
parentf9b4780bec0f2994c93c8cdac5c7646a9b5b6a84 (diff)
downloadpfsense-packages-1e686a3273231d7b458779f84144be4ba148caad.tar.gz
pfsense-packages-1e686a3273231d7b458779f84144be4ba148caad.tar.bz2
pfsense-packages-1e686a3273231d7b458779f84144be4ba148caad.zip
haproxy-devel, remove obsolete configuration/certificates cleanup
Diffstat (limited to 'config')
-rw-r--r--config/haproxy-devel/haproxy.inc6
1 files changed, 0 insertions, 6 deletions
diff --git a/config/haproxy-devel/haproxy.inc b/config/haproxy-devel/haproxy.inc
index e1cfdbbe..19616e1b 100644
--- a/config/haproxy-devel/haproxy.inc
+++ b/config/haproxy-devel/haproxy.inc
@@ -828,15 +828,9 @@ function haproxy_writeconf($configpath) {
if(is_array($a_frontends)) {
foreach ($a_frontends as $frontend) {
if($frontend['status'] != 'active')
- {
- unlink_if_exists("var/etc/{$frontend['name']}.{$frontend['port']}.crt");
continue;
- }
if(!$frontend['backend_serverpool'])
- {
- unlink_if_exists("var/etc/{$frontend['name']}.{$frontend['port']}.crt");
continue;
- }
$bname = get_frontend_ipport($frontend);