]> git.lizzy.rs Git - plan9front.git/blob - sys/man/8/cpurc
forp: change indexing to verilog-like semantics
[plan9front.git] / sys / man / 8 / cpurc
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 boot (8)),
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 Termrc
37 sets
38 .B /env/NPROC
39 to a value suitable for parallel compilation in
40 .IR mk (1).
41 .PP
42 If an executable file
43 .B /bin/termrc.local
44 exists,
45 .I termrc
46 will execute it.
47 If an executable file
48 .B /cfg/$sysname/termrc
49 exists for the machine named
50 .BR $sysname ,
51 .I termrc
52 will execute it next.
53 These files should be edited by local installations
54 to reflect the configuration of their systems.
55 .PP
56 On CPU servers, read
57 .L cpurc
58 for
59 .L termrc
60 in the previous paragraph.
61 .SH FILES
62 .TF /cfg/$sysname/termrc
63 .TP
64 .B /cfg/$sysname/cpurc
65 machine-specific boot script for
66 .I cpurc
67 .TP
68 .B /cfg/$sysname/termrc
69 machine-specific boot script for
70 .I termrc
71 .SH SOURCE
72 .B /rc/bin/*rc
73 .br
74 .B /rc/bin/*rc.local
75 .br
76 .B /cfg/$sysname/*rc
77 .SH "SEE ALSO"
78 .IR namespace (6),
79 .IR boot (8)
80 .IR init (8),
81 .IR listen (8)