cpurc, cpurc.local, termrc, termrc.local - boot scripts
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 daemons 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).
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. Automatic initialization of the
mouse and VGA on a PC is suppressed, if the user is none. These files
should be edited by local installations to reflect the configuration of
On CPU servers, read for in the previous paragraph.
machine-specific boot script for cpurc
machine-specific boot script for termrc
SEE ALSOsrv(4), namespace(6), init(8), listen(8)CPURC(8)