diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-05-08 18:19:32 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-05-08 18:19:32 -0300 |
commit | 255edd11572b572a9e1a813fce466c8eb3a82d0f (patch) | |
tree | 7e40cf8187c728756f039ae81e50a9dae49247e8 /config | |
parent | 8f7fdf79978dcf504b2344395ff29f9cdddb5c5c (diff) | |
parent | 1e686a3273231d7b458779f84144be4ba148caad (diff) | |
download | pfsense-packages-255edd11572b572a9e1a813fce466c8eb3a82d0f.tar.gz pfsense-packages-255edd11572b572a9e1a813fce466c8eb3a82d0f.tar.bz2 pfsense-packages-255edd11572b572a9e1a813fce466c8eb3a82d0f.zip |
Merge pull request #642 from PiBa-NL/hap_obsolete_cleanup
Diffstat (limited to 'config')
-rw-r--r-- | config/haproxy-devel/haproxy.inc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/config/haproxy-devel/haproxy.inc b/config/haproxy-devel/haproxy.inc index 1d85cc51..4c9b3f4a 100644 --- a/config/haproxy-devel/haproxy.inc +++ b/config/haproxy-devel/haproxy.inc @@ -818,15 +818,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; - } $primaryfrontend = get_primaryfrontend($frontend); $bname = get_frontend_ipport($frontend); |