Move utility_enable example to appropriate section
This commit is contained in:
parent
d2202fe114
commit
03518b7210
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=23523
1 changed files with 6 additions and 5 deletions
|
|
@ -399,11 +399,7 @@ exit 0</programlisting>
|
|||
<para>This script provides for a <literal>stop</literal> and
|
||||
<literal>start</literal> option for
|
||||
the application hereto referred simply as
|
||||
<literal>utility</literal>. This application
|
||||
could then have the following line placed in
|
||||
<filename>/etc/rc.conf</filename>:</para>
|
||||
|
||||
<programlisting>utility_enable="YES"</programlisting>
|
||||
<literal>utility</literal>.</para>
|
||||
|
||||
<para>Could be started manually with:</para>
|
||||
|
||||
|
|
@ -466,6 +462,11 @@ run_rc_command "$1"</programlisting>
|
|||
for setting and tracking the <acronym>PID</acronym>, or process
|
||||
<acronym>ID</acronym> file.</para>
|
||||
|
||||
<para>This application could then have the following line placed
|
||||
in <filename>/etc/rc.conf</filename>:</para>
|
||||
|
||||
<programlisting>utility_enable="YES"</programlisting>
|
||||
|
||||
<para>This new method also allows for easier manipulation of the
|
||||
command line arguments, inclusion of the default functions
|
||||
provided in <filename>/etc/rc.subr</filename>, compatibility
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue