CPURC(8)CPURC(8)
NAME
cpurc, cpurc.local, termrc, termrc.local – boot scripts
SYNOPSIS
cpurc
cpurc.local
termrc
termrc.local
DESCRIPTION
After the kernel boots, it execs
/boot
(see
boot(8)),
which in turn execs
/$cputype/init.
Init(8)
sets the
$service
environment variable to
cpu
or
terminal,
and then invokes the appropriate
rc
script to bring the system up.
Based on the values of
$sysname
and
$terminal
these scripts start appropriate network processes and
administrative daemons and enable swapping.
Termrc
sets
/env/NPROC
to a value suitable for parallel compilation in
mk(1).
If an executable file
/bin/termrc.local
exists,
termrc
will execute it.
If an executable file
/cfg/$sysname/termrc
exists for the machine named
$sysname,
termrc
will execute it next.
These files should be edited by local installations
to reflect the configuration of their systems.
On CPU servers, read
cpurc
for
termrc
in the previous paragraph.
FILES
/cfg/$sysname/cpurc
machine-specific boot script for
cpurc
/cfg/$sysname/termrc
machine-specific boot script for
termrc
SOURCE
/rc/bin/*rc
/rc/bin/*rc.local
/cfg/$sysname/*rc
SEE ALSO
namespace(6),
boot(8)
init(8),
listen(8)