RC.CONF(8) OpenBSD System Manager's Manual RC.CONF(8)
NAME
rc.conf - system daemon configuration database
DESCRIPTION
This file contains a series of Bourne-shell syntax assinments that are
used to configure the system daemons. It is not read by the kernel, but
is sourced by various other files in the /etc/rc.* series in order to set
shell variables used therein to control the behaviour of the scripts.
There are three sections to the file. The first is used to turn features
on or off. For example, whether your system runs the sendmail daemon is
determined by the line in this section
sendmail_flags=NO
If you edit this line to contain some valid sendmail daemon command-line
flags, such as
sendmail_flags="-bd -q30m"
then the sendmail daemon will be started with those options.
The second section contains some other programs that can either be run or
not, but that don't need options. They can be set to YES or NO. For exam-
ple, the distributed system contains the line
nfs_server=NO
which prevents the NFS server daemons from starting. If you wish to run
NFS, you need to change this line's value from NO to YES, plus you also
need to make whatever changes are needed for the server to have something
to do (like, set up the exports file).
The third section contains values that parameterize servers started by
one of the first two sections, and are ignored if the corresponding serv-
er is not running. For example, if you enabled nfs_server, you should al-
so be aware of the value here
nfsd_flags="-tun 4"
which starts four copies of the server; on a busy file server you'd prob-
ably change to 8 or more.
SEE ALSO
init(8), rc(8).
and the detailed documentation given for each server that is configurable
in this fashion.
HISTORY
The file rc.conf first appeared in OpenBSD 2.2.
OpenBSD 2.2 January 5, 1998 1