xref: /plan9-contrib/sys/man/8/cpurc (revision 219b2ee8daee37f4aad58d63f21287faa8e4ffdc)
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 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).

These files should be edited by local installations to reflect the configuration of their systems.

SOURCE
/rc/bin/cpurc

/rc/bin/termrc

"SEE ALSO"
srv (4), namespace (6), dkconfig (8), init (8), listen (8)