aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-legacy
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-legacy
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-legacy')
-rw-r--r--config/haproxy-legacy/haproxy.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy-legacy/haproxy.inc b/config/haproxy-legacy/haproxy.inc
index 9f4b4ba6..b6c22899 100644
--- a/config/haproxy-legacy/haproxy.inc
+++ b/config/haproxy-legacy/haproxy.inc
@@ -81,7 +81,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"}