CPURC(8) CPURC(8)
NAME
cpurc, termrc - boot script
SYNOPSIS
cpurc
termrc
DESCRIPTION
After the kernel boots, it execs /boot (see root(3)), 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 dae-
mons and enable swapping. Cpurc sets /env/boottime to the
time cpurc was executed and /env/NPROC to a value suitable
for parallel compilation in mk(1).
These files should be edited by local installations to
reflect the configuration of their systems. If an exe-
cutable file /sys/lib/sysconfig/termrc/$sysname exists for
the machine named $sysname, termrc will execute it as its
last act. This action is suppressed, as is automatic ini-
tialization of the mouse and VGA on a PC, if the user is
none.
FILES
/sys/lib/sysconfig/termrc machine-specific configuration
scripts for termrc.
SOURCE
/rc/bin/cpurc
/rc/bin/termrc
SEE ALSO
srv(4), namespace(6), init(8), listen(8)
Page 1 Plan 9 (printed 11/30/25)