diff options
author | dougb <dougb@FreeBSD.org> | 2012-01-14 16:57:23 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2012-01-14 16:57:23 +0800 |
commit | 4500e6f95eef76996051b447f00584b31e4abedf (patch) | |
tree | aa85e69ac86658b87b78e09ff440d65dc0ff7518 /print | |
parent | 9b5808c5a6c860e753267e93e9516b3301002f03 (diff) | |
download | freebsd-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 'print')
-rw-r--r-- | print/acroreadwrapper/files/linux_adobe.sh.in | 2 | ||||
-rw-r--r-- | print/cups-base/files/cupsd.in | 2 | ||||
-rw-r--r-- | print/pips800/files/ekpd.sh | 2 | ||||
-rw-r--r-- | print/pips800/files/pips.sh | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/print/acroreadwrapper/files/linux_adobe.sh.in b/print/acroreadwrapper/files/linux_adobe.sh.in index 8928a90976da..c25abc45d281 100644 --- a/print/acroreadwrapper/files/linux_adobe.sh.in +++ b/print/acroreadwrapper/files/linux_adobe.sh.in @@ -8,7 +8,7 @@ . /etc/rc.subr name="linux_adobe" -rcvar=`set_rcvar` +rcvar=linux_adobe_enable start_cmd="linux_adobe_start" stop_cmd="linux_adobe_stop" diff --git a/print/cups-base/files/cupsd.in b/print/cups-base/files/cupsd.in index ed277e498d87..81c2e8f1dadb 100644 --- a/print/cups-base/files/cupsd.in +++ b/print/cups-base/files/cupsd.in @@ -14,7 +14,7 @@ . /etc/rc.subr name=cupsd -rcvar=`set_rcvar` +rcvar=cupsd_enable start_precmd=${name}_prestart diff --git a/print/pips800/files/ekpd.sh b/print/pips800/files/ekpd.sh index b5628ef06531..f7accd50ed4f 100644 --- a/print/pips800/files/ekpd.sh +++ b/print/pips800/files/ekpd.sh @@ -21,7 +21,7 @@ . /etc/rc.subr name="ekpd" -rcvar=`set_rcvar` +rcvar=ekpd_enable command="%%PREFIX%%/libexec/pips/printer/ekpd" start_precmd="ekpd_prestart" diff --git a/print/pips800/files/pips.sh b/print/pips800/files/pips.sh index 6c5ccca7145c..8355ead2146b 100644 --- a/print/pips800/files/pips.sh +++ b/print/pips800/files/pips.sh @@ -20,7 +20,7 @@ pips_enable=${pips_enable:-"YES"} # Enable pips . /etc/rc.subr name="pips" -rcvar=`set_rcvar` +rcvar=pips_enable start_cmd="/sbin/ldconfig -m %%PREFIX%%/lib/pips" stop_cmd=":" |