blob: 13fe0df4452b12fec96eb57149e3e1ddb9eee3dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
.TH CPURC 8
.SH NAME
cpurc, termrc \- boot script
.SH SYNOPSIS
.B cpurc
.PP
.B termrc
.SH DESCRIPTION
After the kernel boots, it execs
.B /boot
(see
.IR root (3)),
which in turn execs
.BR /$cputype/init .
.IR Init (8)
sets the
.B $service
environment variable to
.B cpu
or
.BR terminal ,
and then invokes the appropriate
.B rc
script to bring the system up.
.PP
Based on the values of
.B $sysname
and
.B $terminal
these scripts start appropriate network processes and
administrative daemons and enable swapping.
.I Cpurc
sets
.B /env/boottime
to the time
.I cpurc
was executed and
.B /env/NPROC
to a value suitable for parallel compilation in
.IR mk (1).
.PP
These files should be edited by local installations
to reflect the configuration of their systems.
If an executable file
.B /sys/lib/sysconfig/termrc/$sysname
exists for the machine named
.BR $sysname ,
.I termrc
will execute it as its last act.
This action is suppressed, as is automatic initialization of the mouse and
VGA on a PC, if the user is
.BR none .
.SH FILES
.TF /sys/lib/sysconfig/termrc
.TP
.B /sys/lib/sysconfig/termrc
machine-specific configuration scripts for
.IR termrc .
.SH SOURCE
.B /rc/bin/cpurc
.br
.B /rc/bin/termrc
.SH "SEE ALSO"
.IR srv (4),
.IR namespace (6),
.IR init (8),
.IR listen (8)
|