add some missing end tags.
This commit is contained in:
parent
d6669f9b18
commit
15bd66dd0d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=33230
1 changed files with 5 additions and 4 deletions
|
@ -170,7 +170,7 @@
|
||||||
<envar>$EDITOR</envar> will not hurt. In order to write a
|
<envar>$EDITOR</envar> will not hurt. In order to write a
|
||||||
well-tempered <filename>rc.d</filename> script for a system
|
well-tempered <filename>rc.d</filename> script for a system
|
||||||
service, we should be able to answer the following questions
|
service, we should be able to answer the following questions
|
||||||
first:
|
first:</para>
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -190,6 +190,7 @@
|
||||||
|
|
||||||
<para>From the examples that follow we will see why it is
|
<para>From the examples that follow we will see why it is
|
||||||
important to know the answers to these questions.</para>
|
important to know the answers to these questions.</para>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
<sect1 id="rcng-dummy">
|
<sect1 id="rcng-dummy">
|
||||||
<title>A dummy script</title>
|
<title>A dummy script</title>
|
||||||
|
@ -916,7 +917,7 @@ fi</programlisting>
|
||||||
In turn,
|
In turn,
|
||||||
<envar><replaceable>argument</replaceable>_postcmd</envar> will
|
<envar><replaceable>argument</replaceable>_postcmd</envar> will
|
||||||
not be invoked unless the main method returns a zero exit
|
not be invoked unless the main method returns a zero exit
|
||||||
code.
|
code.</para>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
<para>However, &man.rc.subr.8; can be instructed from the
|
<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>
|
has disabled it mistakenly in &man.rc.conf.5;.</para>
|
||||||
|
|
||||||
<para>With this general knowledge in mind, let us consider the
|
<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>
|
<informalexample>
|
||||||
<programlisting>#!/bin/sh
|
<programlisting>#!/bin/sh
|
||||||
|
@ -1321,7 +1322,7 @@ Greeting message: Hello world!</screen>
|
||||||
not only to a standard one. We have added a custom method
|
not only to a standard one. We have added a custom method
|
||||||
named <option>kiss</option>, and it can take advantage of
|
named <option>kiss</option>, and it can take advantage of
|
||||||
the extra arguments not less than <option>start</option>
|
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>
|
<screen>&prompt.root; <userinput>/etc/rc.d/dummy kiss</userinput>
|
||||||
A ghost gives you a kiss.
|
A ghost gives you a kiss.
|
||||||
|
|
Loading…
Reference in a new issue