diff options
author | Fukang Chen <loader@FreeBSD.org> | 2008-11-15 18:56:36 +0000 |
---|---|---|
committer | Fukang Chen <loader@FreeBSD.org> | 2008-11-15 18:56:36 +0000 |
commit | 15bd66dd0d2e43003f824c21b0caf94af3137eea (patch) | |
tree | 9a424ace7c116779a2754a010a640232e229ba9f | |
parent | d6669f9b1821cd922859d1d70f2cf96a2fa26c6f (diff) |
Notes
-rw-r--r-- | en_US.ISO8859-1/articles/rc-scripting/article.sgml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/en_US.ISO8859-1/articles/rc-scripting/article.sgml b/en_US.ISO8859-1/articles/rc-scripting/article.sgml index 58c014c9b6..07a4cbc143 100644 --- a/en_US.ISO8859-1/articles/rc-scripting/article.sgml +++ b/en_US.ISO8859-1/articles/rc-scripting/article.sgml @@ -170,7 +170,7 @@ <envar>$EDITOR</envar> will not hurt. In order to write a well-tempered <filename>rc.d</filename> script for a system service, we should be able to answer the following questions - first: + first:</para> <itemizedlist> <listitem> @@ -190,6 +190,7 @@ <para>From the examples that follow we will see why it is important to know the answers to these questions.</para> + </sect1> <sect1 id="rcng-dummy"> <title>A dummy script</title> @@ -916,7 +917,7 @@ fi</programlisting> In turn, <envar><replaceable>argument</replaceable>_postcmd</envar> will not be invoked unless the main method returns a zero exit - code. + code.</para> <note> <para>However, &man.rc.subr.8; can be instructed from the @@ -1001,7 +1002,7 @@ fi</programlisting> has disabled it mistakenly in &man.rc.conf.5;.</para> <para>With this general knowledge in mind, let us consider the - simple daemon script enhanced with dependency stuff: + simple daemon script enhanced with dependency stuff:</para> <informalexample> <programlisting>#!/bin/sh @@ -1321,7 +1322,7 @@ Greeting message: Hello world!</screen> not only to a standard one. We have added a custom method named <option>kiss</option>, and it can take advantage of the extra arguments not less than <option>start</option> - does. E.g.: + does. E.g.:</para> <screen>&prompt.root; <userinput>/etc/rc.d/dummy kiss</userinput> A ghost gives you a kiss. |