summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-02-22 10:57:19 +0000
committeryar <yar@FreeBSD.org>2006-02-22 10:57:19 +0000
commit33f484fce3e374fb5027c80d2008a6190d7b25c4 (patch)
tree199e6834daf0ede191bcfe00c7ccbddc5a31abc7 /share
parent46e57ae3d3c71f7a1b50e924adeabc7f62592f87 (diff)
downloadFreeBSD-src-33f484fce3e374fb5027c80d2008a6190d7b25c4.zip
FreeBSD-src-33f484fce3e374fb5027c80d2008a6190d7b25c4.tar.gz
Document the relation between $command and $foo_program.
PR: docs/68453 MFC after: 3 days
Diffstat (limited to 'share')
-rw-r--r--share/man/man8/rc.subr.815
1 files changed, 15 insertions, 0 deletions
diff --git a/share/man/man8/rc.subr.8 b/share/man/man8/rc.subr.8
index 1971453..7f8a455 100644
--- a/share/man/man8/rc.subr.8
+++ b/share/man/man8/rc.subr.8
@@ -449,6 +449,8 @@ Full path to the command.
Not required if
.Ar argument Ns Va _cmd
is defined for each supported keyword.
+Can be overridden by
+.Va ${name}_program .
.It Va command_args
Optional arguments and/or shell directives for
.Va command .
@@ -537,6 +539,19 @@ as.
Only supported after
.Pa /usr
is mounted.
+.It Va ${name}_program
+Full path to the command.
+Overrides
+.Va command
+if both are set, but has no effect if
+.Va command
+is unset.
+As a rule,
+.Va command
+should be set in the script while
+.Va ${name}_program
+should be set in
+.Xr rc.conf 5 .
.It Va ${name}_user
User to run
.Va command
OpenPOWER on IntegriCloud