aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/haproxy/haproxy.xml8
1 files changed, 3 insertions, 5 deletions
diff --git a/config/haproxy/haproxy.xml b/config/haproxy/haproxy.xml
index 5bb3af0a..ff2b0ab5 100644
--- a/config/haproxy/haproxy.xml
+++ b/config/haproxy/haproxy.xml
@@ -96,11 +96,9 @@
<custom_php_resync_config_command>
</custom_php_resync_config_command>
<custom_php_install_command>
- if(!file_exists("/usr/local/bin/haproxy")) {
- $freebsdv=`uname -r | cut -d'.' -f1`;
- download_file_with_progress_bar("http://www.pfsense.org/packages/config/haproxy/binaries{$freebsdv}/haproxy", "/usr/local/bin/haproxy");
- exec("chmod a+rx /usr/local/bin/haproxy");
- }
+ $freebsdv=`uname -r | cut -d'.' -f1`;
+ download_file_with_progress_bar("http://www.pfsense.org/packages/config/haproxy/binaries{$freebsdv}/haproxy", "/usr/local/sbin/haproxy");
+ exec("chmod a+rx /usr/local/sbin/haproxy");
</custom_php_install_command>
<custom_php_deinstall_command>
</custom_php_deinstall_command>