rc.conf - system daemon configuration database
This file contains a series of Bourne-shell syntax assignments that are
used to configure the system daemons. It is not read by the
is sourced by various other files in the /etc/rc.* series
in order to
set shell variables used therein to control the behaviour of
It is advisable to leave the /etc/rc.conf file untouched,
create and edit a new /etc/rc.conf.local file. Variables
set in this
file will override variables previously set in /etc/rc.conf.
There are three sections in this file. The first is used to
on or off. For example, whether the system runs the
is determined by the line in this section
routed=NO # for normal use: "-q"
If this line is edited to contain some valid routed daemon
flags, such as
routed="-q" # for normal use: "-q"
then the routed 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 example,
prevents the NFS server daemons from starting. To run NFS,
this line's value from NO to YES, and also make whatever
needed for the server to have something to do (set up the
The third section contains values that parameterize servers
one of the first two sections, and are ignored if the corresponding server
is not running. For example, if nfs_server, is enabled,
then the line
provides command-line arguments for the NFS server.
This particular line instructs nfsd(8) to start four copies
of the server.
On a busy file server, 8 (or more) copies are recommended.
and the detailed documentation given for each server that is
in this fashion.
The rc.conf file first appeared in OpenBSD 2.2.
OpenBSD 3.6 January 5, 1998
[ Back ]