Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2015 15:43:42 +0000 (UTC)
From:      Brad Davis <brd@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r46268 - head/en_US.ISO8859-1/books/porters-handbook/special
Message-ID:  <201502131543.t1DFhgOl038846@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502131543.t1DFhgOl038846>