aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-02-09 16:28:43 -0200
committerRenato Botelho <garga@FreeBSD.org>2015-02-09 16:28:43 -0200
commit7998273d075385d8a974bd56e530d8753c940717 (patch)
treeb653871a5122deaf36a896b1c8f7ed5956a2cfa0 /config/haproxy
parent13432421da0d1f3eafbd09ce966497f3f3b5bd20 (diff)
downloadpfsense-packages-7998273d075385d8a974bd56e530d8753c940717.tar.gz
pfsense-packages-7998273d075385d8a974bd56e530d8753c940717.tar.bz2
pfsense-packages-7998273d075385d8a974bd56e530d8753c940717.zip
Drop use of set_rcvar from startup scripts, it's deprecated
Diffstat (limited to 'config/haproxy')
-rw-r--r--config/haproxy/haproxy.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc
index 5eb2160e..13bdaeab 100644
--- a/config/haproxy/haproxy.inc
+++ b/config/haproxy/haproxy.inc
@@ -85,7 +85,7 @@ function haproxy_custom_php_install_command() {
. /etc/rc.subr
name="haproxy"
-rcvar=`set_rcvar`
+rcvar="\${name}"
command="/usr/local/bin/haproxy"
haproxy_enable=\${haproxy-"YES"}