aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/haproxy/haproxy.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/haproxy/haproxy.xml b/config/haproxy/haproxy.xml
index 44206347..f9174868 100644
--- a/config/haproxy/haproxy.xml
+++ b/config/haproxy/haproxy.xml
@@ -96,8 +96,8 @@
<custom_php_resync_config_command>
</custom_php_resync_config_command>
<custom_php_install_command>
- $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");
+ $freebsdv=trim(`uname -r | cut -d'.' -f1`);
+ `fetch -q -o /usr/local/sbin/ http://www.pfsense.org/packages/config/haproxy/binaries{$freebsdv}/haproxy`;
exec("chmod a+rx /usr/local/sbin/haproxy");
haproxy_custom_php_install_command();
</custom_php_install_command>