aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2012-01-14 16:57:23 +0800
committerdougb <dougb@FreeBSD.org>2012-01-14 16:57:23 +0800
commit4500e6f95eef76996051b447f00584b31e4abedf (patch)
treeaa85e69ac86658b87b78e09ff440d65dc0ff7518 /lang
parent9b5808c5a6c860e753267e93e9516b3301002f03 (diff)
downloadfreebsd-ports-gnome-4500e6f95eef76996051b447f00584b31e4abedf.tar.gz
freebsd-ports-gnome-4500e6f95eef76996051b447f00584b31e4abedf.tar.zst
freebsd-ports-gnome-4500e6f95eef76996051b447f00584b31e4abedf.zip
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable when it's not, to prepare for the demise of set_rcvar(). In cases where I had to hand-edit unusual instances also modify formatting slightly to be more uniform (and in some cases, correct). This includes adding some $FreeBSD$ tags, and most importantly moving rcvar= to right after name= so it's clear that one is derived from the other.
Diffstat (limited to 'lang')
-rw-r--r--lang/erlang/files/epmd.sh.in2
-rw-r--r--lang/erlang14/files/epmd.sh.in2
-rw-r--r--lang/php5/files/php-fpm.in2
-rw-r--r--lang/php52/files/php-fpm.in2
-rw-r--r--lang/php53/files/php-fpm.in2
-rw-r--r--lang/rexx-regina/files/rxstack.in2
6 files changed, 6 insertions, 6 deletions
diff --git a/lang/erlang/files/epmd.sh.in b/lang/erlang/files/epmd.sh.in
index 7782174bb965..acf9c58443bd 100644
--- a/lang/erlang/files/epmd.sh.in
+++ b/lang/erlang/files/epmd.sh.in
@@ -15,7 +15,7 @@ epmd_enable=${epmd_enable:-"NO"}
. /etc/rc.subr
name=epmd
-rcvar=`set_rcvar`
+rcvar=epmd_enable
procname=%%PREFIX%%/bin/epmd
start_cmd="%%PREFIX%%/bin/epmd -daemon"
diff --git a/lang/erlang14/files/epmd.sh.in b/lang/erlang14/files/epmd.sh.in
index 7782174bb965..acf9c58443bd 100644
--- a/lang/erlang14/files/epmd.sh.in
+++ b/lang/erlang14/files/epmd.sh.in
@@ -15,7 +15,7 @@ epmd_enable=${epmd_enable:-"NO"}
. /etc/rc.subr
name=epmd
-rcvar=`set_rcvar`
+rcvar=epmd_enable
procname=%%PREFIX%%/bin/epmd
start_cmd="%%PREFIX%%/bin/epmd -daemon"
diff --git a/lang/php5/files/php-fpm.in b/lang/php5/files/php-fpm.in
index af61d9364ca0..55e2ac992408 100644
--- a/lang/php5/files/php-fpm.in
+++ b/lang/php5/files/php-fpm.in
@@ -15,7 +15,7 @@
. /etc/rc.subr
name="php_fpm"
-rcvar=`set_rcvar`
+rcvar=php_fpm_enable
load_rc_config "$name"
diff --git a/lang/php52/files/php-fpm.in b/lang/php52/files/php-fpm.in
index 4bf983f035d6..ffa3234405ec 100644
--- a/lang/php52/files/php-fpm.in
+++ b/lang/php52/files/php-fpm.in
@@ -17,7 +17,7 @@
. /etc/rc.subr
name="php_fpm"
-rcvar=`set_rcvar`
+rcvar=php_fpm_enable
extra_commands="reload logrotate"
diff --git a/lang/php53/files/php-fpm.in b/lang/php53/files/php-fpm.in
index af61d9364ca0..55e2ac992408 100644
--- a/lang/php53/files/php-fpm.in
+++ b/lang/php53/files/php-fpm.in
@@ -15,7 +15,7 @@
. /etc/rc.subr
name="php_fpm"
-rcvar=`set_rcvar`
+rcvar=php_fpm_enable
load_rc_config "$name"
diff --git a/lang/rexx-regina/files/rxstack.in b/lang/rexx-regina/files/rxstack.in
index 7b9a9b7a4642..58d2341e34b3 100644
--- a/lang/rexx-regina/files/rxstack.in
+++ b/lang/rexx-regina/files/rxstack.in
@@ -17,7 +17,7 @@
. /etc/rc.subr
name="rxstack"
-rcvar=`set_rcvar`
+rcvar=rxstack_enable
command=%%PREFIX%%/bin/${name}