add some missing end tags.

This commit is contained in:
Fukang Chen 2008-11-15 18:56:36 +00:00
parent d6669f9b18
commit 15bd66dd0d
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=33230

View file

@ -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.