RC(8) BSD RC(8)
NAME
rc, rc.local, rc.user - command scripts for auto-reboot and daemons
SYNOPSIS
/etc/rc
/etc/rc.local
/etc/rc.user
DESCRIPTION
The rc command script controls the automatic reboot, the rc.local script
contains commands that are pertinent only to a specific site, and the
rc.user script contains commands used to start Domain/OS BSD daemons,
such as mbx_helper, netman, prsvr, and spm.
rc is run after an auto-reboot succeeds. rc starts the daemons on the
system, preserves editor files, and clears the scratch directory /tmp.
rc.local is executed immediately before any other commands. Normally, the
first commands placed in the rc.local file define the machine's name,
using hostname(1).
The rc script invokes rc.user and runs it as user.none.none. To start up
the servers listed in the rc.user file, uncomment the appropriate lines
in that file.
NOTES
The /etc/rc, /etc/rc.local, and /etc/rc.user files are links, which
resolve to `node_data/etc/rc, `node_data/etc/rc.local, and
`node_data/etc/rc.user respectively.
The /etc/rc file is owned by root, and protected such that only root can
write to it.
SEE ALSO
init(8), reboot (8)
Managing BSD System Software.