-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrc.8.html
118 lines (118 loc) · 4.89 KB
/
rc.8.html
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html>
<!-- This is an automatically generated file. Do not edit.
rc(8) manual page
See COPYING and COPYRIGHT files for corresponding information.
-->
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="mandoc.css" type="text/css" media="all"/>
<title>RC(8)</title>
</head>
<body>
<table class="head">
<tr>
<td class="head-ltitle">RC(8)</td>
<td class="head-vol">System Manager's Manual</td>
<td class="head-rtitle">RC(8)</td>
</tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">rc</code>, <code class="Nm">rc.single</code>,
<code class="Nm">rc.multi</code>, <code class="Nm">rc.modules</code>,
<code class="Nm">rc.local</code>, <code class="Nm">rc.shutdown</code>,
<code class="Nm">rc.d/</code> — <span class="Nd">startup and shutdown
scripts</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<div class="Bd Li">
<pre>init(8)
|-- rc
| `-- rc.modules
|-- rc.single
|-- rc.multi
| |-- rc.d/
| `-- rc.local
`-- rc.shutdown</pre>
</div>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp"><code class="Nm">rc</code> is the command script which controls
the system boot, and is invoked by
<a class="Xr" href="init.8.html">init(8)</a> as part of init process.</p>
<p class="Pp"><code class="Nm">rc.single</code> is the command script which
controls what to do in single-user mode.</p>
<p class="Pp"><code class="Nm">rc.multi</code> is the command script which
controls what to do in multi-user mode.</p>
<p class="Pp"><code class="Nm">rc.modules</code> is the command script to which
local kernel module initialization actions can be added. It is (nearly) the
last thing invoked by <code class="Nm">rc</code> during system boot.</p>
<p class="Pp"><code class="Nm">rc.local</code> is the command script to which
local boot-time actions can be added. It is (nearly) the last thing invoked
by <code class="Nm">rc.multi</code> during a normal boot.</p>
<p class="Pp"><code class="Nm">rc.shutdown</code> is the command script which
shuts down various services, and is invoked by
<a class="Xr" href="shutdown.8.html">shutdown(8)</a> as part of the process
of shutting down the system.</p>
<p class="Pp"><code class="Nm">rc.d/</code> is the directory which contains
various <a class="Xr" href="sh.1p.html">sh(1p)</a> scripts, one for each
service, which are called by <code class="Nm">rc.multi</code> at startup,
<code class="Nm">rc.shutdown</code> at shutdown, and as necessary during
system operation to stop, start, restart, reload or otherwise control the
service.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
<dl class="Bl-tag Bl-compact">
<dt><span class="Pa">/etc/rc</span></dt>
<dd>System boot script.</dd>
<dt><span class="Pa">/etc/rc.single</span></dt>
<dd>Single-User startup script.</dd>
<dt><span class="Pa">/etc/rc.multi</span></dt>
<dd>Multi-User startup script.</dd>
<dt><span class="Pa">/etc/rc.modules</span></dt>
<dd>Module initialization script.</dd>
<dt><span class="Pa">/etc/rc.local</span></dt>
<dd>Local multi-user startup script.</dd>
<dt><span class="Pa">/etc/rc.shutdown</span></dt>
<dd>System shutdown script.</dd>
<dt><span class="Pa">/etc/rc.conf</span></dt>
<dd>System boot configuration file.</dd>
<dt><span class="Pa">/etc/rc.d/</span></dt>
<dd>Directory containing control scripts for each service.</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<p class="Pp"><a class="Xr" href="rc.conf.5.html">rc.conf(5)</a>,
<a class="Xr" href="init.8.html">init(8)</a>,
<a class="Xr" href="reboot.8.html">reboot(8)</a>,
<a class="Xr" href="shutdown.8.html">shutdown(8)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">Originally written by <span class="An">Per Lidén</span>
<<a class="Mt" href="mailto:[email protected]">[email protected]</a>> as
part of
“<a class="permalink" href="#rc"><b class="Sy" id="rc">rc</b></a>”
port for <a class="Lk" href="http://crux.nu">CRUX</a>.</p>
<p class="Pp">This implementation was extensively re-worked for Zeppe-Lin by
<br/>
<span class="An">Alexandr Savca</span>
<<a class="Mt" href="mailto:[email protected]">[email protected]</a>>.</p>
</section>
</div>
<table class="foot">
<tr>
<td class="foot-date">September 3, 2023</td>
<td class="foot-os">Zeppe-Lin</td>
</tr>
</table>
</body>
</html>