White space fix only. Translators can ignore.
Sponsored by: iXsystems
This commit is contained in:
parent
c82f32dbfa
commit
550aaef939
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44301
1 changed files with 53 additions and 52 deletions
|
@ -406,13 +406,12 @@ PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin <co xml:id="co-env"/>
|
|||
</info>
|
||||
|
||||
<para>&os; uses the &man.rc.8; system of startup scripts during
|
||||
system initialization and for managing services. The scripts listed in
|
||||
<filename>/etc/rc.d</filename> provide basic
|
||||
services which can be controlled with the
|
||||
<option>start</option>, <option>stop</option>, and
|
||||
<option>restart</option> options to &man.service.8;. For
|
||||
instance, &man.sshd.8; can be restarted with the following
|
||||
command:</para>
|
||||
system initialization and for managing services. The scripts
|
||||
listed in <filename>/etc/rc.d</filename> provide basic services
|
||||
which can be controlled with the <option>start</option>,
|
||||
<option>stop</option>, and <option>restart</option> options to
|
||||
&man.service.8;. For instance, &man.sshd.8; can be restarted
|
||||
with the following command:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>service sshd restart</userinput></screen>
|
||||
|
||||
|
@ -553,18 +552,18 @@ sshd is running as pid 433.</screen>
|
|||
<secondary><filename>rc.conf</filename></secondary>
|
||||
</indexterm>
|
||||
|
||||
<para>The principal location for system configuration information
|
||||
is <filename>/etc/rc.conf</filename>. This file contains a
|
||||
wide range of configuration information and it is read at
|
||||
system startup to configure the system. It provides the
|
||||
configuration information for the <filename>rc*</filename>
|
||||
files.</para>
|
||||
<para>The principal location for system configuration
|
||||
information is <filename>/etc/rc.conf</filename>. This file
|
||||
contains a wide range of configuration information and it is
|
||||
read at system startup to configure the system. It provides
|
||||
the configuration information for the
|
||||
<filename>rc*</filename> files.</para>
|
||||
|
||||
<para>The entries in <filename>/etc/rc.conf</filename> override
|
||||
the default settings in
|
||||
<filename>/etc/defaults/rc.conf</filename>. The file containing
|
||||
the default settings should not be edited. Instead, all
|
||||
system-specific changes should be made to
|
||||
<filename>/etc/defaults/rc.conf</filename>. The file
|
||||
containing the default settings should not be edited.
|
||||
Instead, all system-specific changes should be made to
|
||||
<filename>/etc/rc.conf</filename>.</para>
|
||||
|
||||
<para>A number of strategies may be applied in clustered
|
||||
|
@ -573,7 +572,8 @@ sshd is running as pid 433.</screen>
|
|||
overhead down. The recommended approach is to place
|
||||
system-specific configuration into
|
||||
<filename>/etc/rc.conf.local</filename>. For example, these
|
||||
entries in <filename>/etc/rc.conf</filename> apply to all systems:</para>
|
||||
entries in <filename>/etc/rc.conf</filename> apply to all
|
||||
systems:</para>
|
||||
|
||||
<programlisting>sshd_enable="YES"
|
||||
keyrate="fast"
|
||||
|
@ -599,7 +599,8 @@ ifconfig_fxp0="inet 10.1.1.1/8"</programlisting>
|
|||
<para>The configuration in <filename>/etc/rc.conf</filename>
|
||||
is parsed by &man.sh.1;. This allows system operators to
|
||||
create complex configuration scenarios. Refer to
|
||||
&man.rc.conf.5; for further information on this topic.</para>
|
||||
&man.rc.conf.5; for further information on this
|
||||
topic.</para>
|
||||
</tip>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue