svn commit: r46268 - head/en_US.ISO8859-1/books/porters-handbook/special
Brad Davis
brd at FreeBSD.org
Fri Feb 13 15:43:43 UTC 2015
Author: brd
Date: Fri Feb 13 15:43:42 2015
New Revision: 46268
URL: https://svnweb.freebsd.org/changeset/doc/46268
Log:
Improve the wording around startup scripts to be clearer.
Modified:
head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Fri Feb 13 15:26:56 2015 (r46267)
+++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Fri Feb 13 15:43:42 2015 (r46268)
@@ -4367,15 +4367,18 @@ post-patch:
article</link> on practical aspects of
<filename>rc.d</filename> scripting.</para>
- <para>One or more <filename>rc.d</filename> scripts can be
- installed:</para>
+ <para>With a mythical port called
+ <replaceable>doorman</replaceable>, which needs to start a
+ <replaceable>doormand</replaceable> daemon. Add the following
+ to the <filename>Makefile</filename>:</para>
<programlisting>USE_RC_SUBR= doormand</programlisting>
- <para>Scripts must be placed in the <filename>files</filename>
+ <para>Multiple scripts may be listed and will be installed.
+ Scripts must be placed in the <filename>files</filename>
subdirectory and a <literal>.in</literal> suffix must be added
to their filename. Standard <varname>SUB_LIST</varname>
- expansions will be used for this file. Use of the
+ expansions will be ran against this file. Use of the
<literal>%%PREFIX%%</literal> and
<literal>%%LOCALBASE%%</literal> expansions is strongly
encouraged as well. More on <varname>SUB_LIST</varname> in
@@ -4387,7 +4390,8 @@ post-patch:
by ports) are included in the overall &man.rcorder.8; of the
base system.</para>
- <para>Example simple <filename>rc.d</filename> script:</para>
+ <para>An example simple <filename>rc.d</filename> script to start
+ the doormand daemon:</para>
<programlisting>#!/bin/sh
More information about the svn-doc-all
mailing list