Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
.TH CPURC 8
2
.SH NAME
3
cpurc, cpurc.local, termrc, termrc.local \- boot scripts
4
.SH SYNOPSIS
5
.B cpurc
6
.br
7
.B cpurc.local
8
.PP
9
.B termrc
10
.br
11
.B termrc.local
12
.SH DESCRIPTION
13
After the kernel boots, it execs
14
.B /boot
15
(see
16
.IR root (3)),
17
which in turn execs
18
.BR /$cputype/init .
19
.IR Init (8)
20
sets the
21
.B $service
22
environment variable to
23
.B cpu
24
or
25
.BR terminal ,
26
and then invokes the appropriate
27
.B rc
28
script to bring the system up.
29
.PP
30
Based on the values of
31
.B $sysname
32
and
33
.B $terminal
34
these scripts start appropriate network processes and
35
administrative daemons and enable swapping.
36
.I Cpurc
37
sets
38
.B /env/boottime
39
to the time
40
.I cpurc
41
was executed and
42
.B /env/NPROC
43
to a value suitable for parallel compilation in
44
.IR mk (1).
45
.PP
46
If an executable file
47
.B /bin/termrc.local
48
exists,
49
.I termrc
50
will execute it.
51
If an executable file
52
.B /cfg/$sysname/termrc
53
exists for the machine named
54
.BR $sysname ,
55
.I termrc
56
will execute it next.
57
Automatic initialization of the mouse and
58
VGA on a PC is suppressed, if the user is
59
.BR none .
60
These files should be edited by local installations
61
to reflect the configuration of their systems.
62
.PP
63
On CPU servers, read
64
.L cpurc
65
for
66
.L termrc
67
in the previous paragraph.
68
.SH FILES
69
.TF /cfg/$sysname/termrc
70
.TP
71
.B /cfg/$sysname/cpurc
72
machine-specific boot script for
73
.I cpurc
74
.TP
75
.B /cfg/$sysname/termrc
76
machine-specific boot script for
77
.I termrc
78
.SH SOURCE
79
.B /rc/bin/*rc
80
.br
81
.B /rc/bin/*rc.local
82
.br
83
.B /cfg/$sysname/*rc
84
.SH "SEE ALSO"
85
.IR srv (4),
86
.IR namespace (6),
87
.IR init (8),
88
.IR listen (8)