Update Question 10.1:
- Add a missing full stop - Mark up named(8) - Remove requirement about .sh extension and add file mode 555 Reviewed by: trhodes, danger Approved by: gabor
This commit is contained in:
parent
b3a98c4c50
commit
1d63773d33
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32321
1 changed files with 4 additions and 4 deletions
|
@ -5750,7 +5750,7 @@ perm /dev/acd0 0660</programlisting>
|
|||
<answer>
|
||||
<para>The primary configuration file is
|
||||
<filename>/etc/defaults/rc.conf</filename> (see
|
||||
&man.rc.conf.5;) System startup scripts such as
|
||||
&man.rc.conf.5;). System startup scripts such as
|
||||
<filename>/etc/rc</filename> and
|
||||
<filename>/etc/rc.d</filename> (see &man.rc.8;) just
|
||||
include this file. <emphasis>Do not edit this
|
||||
|
@ -5760,15 +5760,15 @@ perm /dev/acd0 0660</programlisting>
|
|||
<filename>/etc/rc.conf</filename> and change it
|
||||
there.</para>
|
||||
|
||||
<para>For example, if you wish to start named, the included
|
||||
<para>For example, if you wish to start &man.named.8;, the included
|
||||
DNS server, all you need to do is:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>echo named_enable="YES" >> /etc/rc.conf</userinput></screen>
|
||||
|
||||
<para>To start up local services, place shell scripts in the
|
||||
<filename>/usr/local/etc/rc.d</filename> directory. These
|
||||
shell scripts should be set executable, and end with a
|
||||
.sh.</para>
|
||||
shell scripts should be set executable, the default file
|
||||
mode is <literal>555</literal>.</para>
|
||||
|
||||
</answer>
|
||||
</qandaentry>
|
||||
|
|
Loading…
Reference in a new issue