-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrc.conf.5.html
176 lines (174 loc) · 8.09 KB
/
rc.conf.5.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!DOCTYPE html>
<html>
<!-- This is an automatically generated file. Do not edit.
rc.conf(5) 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.CONF(5)</title>
</head>
<body>
<table class="head">
<tr>
<td class="head-ltitle">RC.CONF(5)</td>
<td class="head-vol">File Formats Manual</td>
<td class="head-rtitle">RC.CONF(5)</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.conf</code> — <span class="Nd">system
configuration file</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<table class="Nm">
<tr>
<td><code class="Nm">/etc/rc.conf</code></td>
<td></td>
</tr>
</table>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">This manual page describes the format of the
<span class="Pa">/etc/rc.conf</span> file. This file is a simple POSIX
<a class="Xr" href="sh.1p.html">sh(1p)</a> script that defines font,
timezone, hostname and services which are used on system initialization and
shutdown.</p>
<p class="Pp">The file consists of a number of variable assignments of the form
“variable=value”. Comments can be specified by putting a hash
(‘<code class="Li">#</code>’) symbol as the first character on
the line.</p>
<p class="Pp">The different configuration variables are:</p>
<dl class="Bl-tag">
<dt id="BLANKTIME"><a class="permalink" href="#BLANKTIME"><b class="Sy">BLANKTIME</b></a>=⟨<var class="Ar">0-60</var>
| <var class="Ar">force</var> | <var class="Ar">poke</var>⟩</dt>
<dd>Specifies the interval of console inactivity, in minutes, after which the
screen will be automatically blanked. The contents of this variable will
be passed as argument to
<a class="Xr" href="setterm.1.html">setterm(1)</a>.
<p class="Pp">The <var class="Ar">force</var> argument keeps the screen
blank even if a key is pressed.</p>
<p class="Pp">The <var class="Ar">poke</var> argument unblanks the
screen.</p>
<p class="Pp">If <b class="Sy">BLANKTIME</b> is unset, then
<a class="Xr" href="rc.8.html">rc(8)</a> make screen blanks after 15
minutes of idle time.</p>
<p class="Pp">Example: “BLANKTIME=15”</p>
</dd>
<dt id="FONT"><a class="permalink" href="#FONT"><b class="Sy">FONT</b></a>=⟨<var class="Ar">STRING</var>⟩</dt>
<dd>Specifies which console font to load at system startup. The contents of
this variable will be passed as argument to
<a class="Xr" href="setfont.8.html">setfont(8)</a>. The available fonts
are located in <span class="Pa">/usr/share/kbd/consolefonts/</span>.
<p class="Pp">Example: “FONT=default”</p>
</dd>
<dt id="KEYMAP"><a class="permalink" href="#KEYMAP"><b class="Sy">KEYMAP</b></a>=⟨<var class="Ar">STRING</var>⟩</dt>
<dd>Specifies which console keyboard map to load at system startup. The
contents of this variable will be passed as argument to
<a class="Xr" href="loadkeys.1.html">loadkeys(1)</a>. The available
keyboard maps are located in
<span class="Pa">/usr/share/kbd/keymaps/</span>.
<p class="Pp">Example: “KEYMAP=us”</p>
</dd>
<dt id="TIMEZONE"><a class="permalink" href="#TIMEZONE"><b class="Sy">TIMEZONE</b></a>=⟨<var class="Ar">STRING</var>⟩</dt>
<dd>Specifies the timezone used by the system. The available zone description
files are located in <span class="Pa">/usr/share/zoneinfo/</span>.
<p class="Pp">Example: “TIMEZONE=Europe/Stockholm”</p>
</dd>
<dt id="HOSTNAME"><a class="permalink" href="#HOSTNAME"><b class="Sy">HOSTNAME</b></a>=⟨<var class="Ar">STRING</var>⟩</dt>
<dd>Specifies the hostname.
<p class="Pp">Example: “HOSTNAME=pluto”</p>
</dd>
<dt id="SEEDRNG_SKIP_CREDIT"><a class="permalink" href="#SEEDRNG_SKIP_CREDIT"><b class="Sy">SEEDRNG_SKIP_CREDIT</b></a>=⟨<var class="Ar">1</var>
| <var class="Ar">true</var> | <var class="Ar">yes</var> |
<var class="Ar">y</var>⟩</dt>
<dd>Specifies <a class="Xr" href="seedrng.8.html">seedrng(8)</a> that seeds
never credit the RNG, even if the seed file is creditable. Disabled by
default.
<p class="Pp">Example: “SEEDRNG_SKIP_CREDIT=false”</p>
</dd>
<dt id="BOOTLOG"><a class="permalink" href="#BOOTLOG"><b class="Sy">BOOTLOG</b></a>=⟨<var class="Ar">STRING</var>⟩</dt>
<dd>Specifies the boot logging daemon to run at startup. The daemon specified
in this string must have a matching start/stop script in
<span class="Pa">/etc/rc.d</span>.
<p class="Pp">Example: “BOOTLOG=bootlogd”</p>
</dd>
<dt id="DEVMGR"><a class="permalink" href="#DEVMGR"><b class="Sy">DEVMGR</b></a>=⟨<var class="Ar">STRING</var>⟩</dt>
<dd>Specifies the device manager to run at startup instead of default
<a class="Xr" href="udevd.8.html">udevd(8)</a>. The daemon specified in
this string must have a matching start/stop script in
<span class="Pa">/etc/rc.d</span>.
<p class="Pp">Example: “DEVMGR=udevd”</p>
</dd>
<dt id="SYSLOG"><a class="permalink" href="#SYSLOG"><b class="Sy">SYSLOG</b></a>=⟨<var class="Ar">STRING</var>⟩</dt>
<dd>Specifies the system logging daemon to run at startup. The daemon
specified in this string must have a matching start/stop script in
<span class="Pa">/etc/rc.d</span>.
<p class="Pp">Example: “SYSLOG=sysklogd”</p>
</dd>
<dt id="SERVICES"><a class="permalink" href="#SERVICES"><b class="Sy">SERVICES</b></a>=‘<code class="Li">⟨<var class="Ar">STRING
...</var>⟩</code>’</dt>
<dd>Specifies which services to start at system startup. The services
specified in this string must be separated by space and have a matching
start/stop script in <span class="Pa">/etc/rc.d/</span>. When entering
multi-user mode the specified scripts will be called in the specified
order with the argument “<code class="Li">start</code>”. At
system shutdown or when entering single-user mode these scripts will be
called in the reverse order with the argument
“<code class="Li">stop</code>”.
<p class="Pp">Example: “SERVICES=‘<code class="Li">lo crond
net sshd</code>’”</p>
</dd>
</dl>
<p class="Pp">The reason why the <b class="Sy">SYSLOG</b> is specified
separately from the <b class="Sy">SERVICES</b> variable is as follows:
firstly, the syslog daemon also starts in the single-user mode, and
secondly, it is needed before the start of any services, so that the
services can log the result if their work.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
<dl class="Bl-tag">
<dt><span class="Pa">/etc/rc.conf</span></dt>
<dd>System configuration file.</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
<p class="Pp">A sample <span class="Pa">/etc/rc.conf</span> file:</p>
<div class="Bd Pp Bd-indent Li">
<pre>#
# /etc/rc.conf: system configuration
#
# See rc.conf(5) for more information.
#
BLANKTIME=15
FONT=default
KEYMAP=us
TIMEZONE=UTC
HOSTNAME=host
SYSLOG=sysklogd
SERVICES='lo crond net'
# End of file.</pre>
</div>
</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.8.html">rc(8)</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>