Fix a typo and some markup nits
This commit is contained in:
parent
d3b1240703
commit
84a463560e
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=28947
1 changed files with 3 additions and 3 deletions
|
|
@ -398,9 +398,9 @@ run_rc_command "$1"</programlisting>
|
||||||
<function>set_rcvar</function> is that different operating
|
<function>set_rcvar</function> is that different operating
|
||||||
systems adopted different conventions for it. Namely,
|
systems adopted different conventions for it. Namely,
|
||||||
&os; sticks to the
|
&os; sticks to the
|
||||||
<envar><replaceable>name</replaceable>_enable</envar>
|
<envar>${name}_enable</envar>
|
||||||
scheme while NetBSD uses just
|
scheme while NetBSD uses just
|
||||||
<envar><replaceable>name</replaceable></envar> variables.
|
<envar>${name}</envar> variables in its &man.rc.conf.5;.
|
||||||
For example, our script will be controlled by
|
For example, our script will be controlled by
|
||||||
<envar>dummy_enable</envar> in &os; and by <envar>dummy</envar>
|
<envar>dummy_enable</envar> in &os; and by <envar>dummy</envar>
|
||||||
in NetBSD.</para>
|
in NetBSD.</para>
|
||||||
|
|
@ -574,7 +574,7 @@ run_rc_command "$1"</programlisting>
|
||||||
<envar>${name}_program</envar> from &man.rc.conf.5; or
|
<envar>${name}_program</envar> from &man.rc.conf.5; or
|
||||||
the script itself even if <envar>command</envar> is
|
the script itself even if <envar>command</envar> is
|
||||||
unset. In that case, the special properties of
|
unset. In that case, the special properties of
|
||||||
<envar>${name}_program</envar> are lost, and it becames
|
<envar>${name}_program</envar> are lost, and it becomes
|
||||||
an ordinary variable your script can use for its own
|
an ordinary variable your script can use for its own
|
||||||
purposes. However, the sole use of
|
purposes. However, the sole use of
|
||||||
<envar>${name}_program</envar> is discouraged because
|
<envar>${name}_program</envar> is discouraged because
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue