From 975db9ee14ae24d889e2430d8c1a9ce174260a9f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 13 Oct 2009 22:31:08 -0400 Subject: Trim string and use fetch --- config/haproxy/haproxy.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config') 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 @@ - $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(); -- cgit v1.2.3