Reviewed by: freebsd-current

Update manual pages for rc(8) and rc.conf(5) based on recent changes
    to rc.local and rc.conf[.local].
This commit is contained in:
Matthew Dillon 1998-12-12 23:26:53 +00:00
parent f633e4c98b
commit ab327a8284
2 changed files with 34 additions and 13 deletions

View File

@ -22,14 +22,17 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $Id: rc.conf.5,v 1.24 1998/10/08 18:47:30 des Exp $ .\" $Id: rc.conf.5,v 1.25 1998/11/15 20:29:27 msmith Exp $
.\" .\"
.Dd April 26, 1997 .Dd April 26, 1997
.Dt RC.CONF 5 .Dt RC.CONF 5
.Os FreeBSD 2.2.2 .Os FreeBSD 2.2.2
.Sh NAME .Sh NAME
.Nm rc.conf .Nm rc.conf
.Nd local configuration information. .Nd system configuration information.
.Pp
.Nm rc.conf.local
.Nd localized system configuration information.
.Sh DESCRIPTION .Sh DESCRIPTION
The file The file
.Nm rc.conf .Nm rc.conf
@ -40,15 +43,16 @@ started up at system initial boot time. In new installations, the
file is generally initialized by the system installation utility: file is generally initialized by the system installation utility:
.Pa /stand/sysinstall . .Pa /stand/sysinstall .
.Pp .Pp
It is the duty of the system administrator to properly maintain this file The
as changes occur on the local host. .Nm rc.conf.local
.Sh FILES file may be used to override variables set in rc.conf. The system
.Bl -tag -width /etc/rc.conf -compact administrator typically uses the distribution-supplied
.It Pa /etc/rc.conf .Nm rc.conf
.El file and maintains local overrides/additions in
.Sh DESCRIPTION .Nm rc.conf.local.
.Pp
The purpose of The purpose of
.Nm .Nm rc.conf[.local]
is not to run commands or perform system startup actions is not to run commands or perform system startup actions
directly. Instead, it is included by the directly. Instead, it is included by the
various generic startup scripts in various generic startup scripts in
@ -273,6 +277,15 @@ is set to
.Ar YES , .Ar YES ,
these are the flags to pass to it. Use the \fBinfo amd\fR these are the flags to pass to it. Use the \fBinfo amd\fR
command for more information. command for more information.
.It Ar update_motd
(bool) If set to
.Ar YES ,
.Nm /etc/motd
will be updated at boot time to reflect the kernel release
bring run. If set to
.Ar NO ,
.Nm
will not be updated
.It Ar nfs_client_enable .It Ar nfs_client_enable
(bool) If set to (bool) If set to
.Ar YES , .Ar YES ,
@ -911,7 +924,14 @@ most secure). See
.Xr init 8 .Xr init 8
for the list of possible security levels and their effect for the list of possible security levels and their effect
on system operation. on system operation.
.Sh FILES
.Bl -tag -width /etc/rc.conf -compact
.It Pa /etc/rc.conf
.El
.Pp
.Bl -tag -width /etc/rc.conf.local -compact
.It Pa /etc/rc.conf.local
.El
.Sh SEE ALSO .Sh SEE ALSO
.Xr gdb 1 , .Xr gdb 1 ,
.Xr info 1 , .Xr info 1 ,
@ -925,6 +945,7 @@ on system operation.
.Xr ifconfig 8 , .Xr ifconfig 8 ,
.Xr inetd 8 , .Xr inetd 8 ,
.Xr lpd 8 , .Xr lpd 8 ,
.Xr motd 5 ,
.Xr moused 8 , .Xr moused 8 ,
.Xr mrouted 8 , .Xr mrouted 8 ,
.Xr named 8 , .Xr named 8 ,

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)rc.8 8.2 (Berkeley) 12/11/93 .\" @(#)rc.8 8.2 (Berkeley) 12/11/93
.\" $Id: rc.8,v 1.5 1998/10/06 19:24:31 phk Exp $ .\" $Id: rc.8,v 1.6 1998/12/12 23:08:34 dillon Exp $
.\" .\"
.Dd December 11, 1993 .Dd December 11, 1993
.Dt RC 8 .Dt RC 8
@ -65,7 +65,7 @@ contain additional custom startup code for your system.
contains the global system configuration information referenced contains the global system configuration information referenced
by the rc files, while by the rc files, while
.Nm rc.conf.local .Nm rc.conf.local
contains the local system configuration. contains the local system configuration. See rc.conf(5)
.Pp .Pp
.Nm Rc.shutdown .Nm Rc.shutdown
is the command script which contains any necessary commands is the command script which contains any necessary commands