source: chapter07/bootscripts.xml@ ddd5542

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since ddd5542 was 94aa6621, checked in by Archaic <archaic@…>, 18 years ago

Reverting UTF-8 changes until everything is in place.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7236 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 10.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-scripts-bootscripts" role="wrap">
9 <?dbhtml filename="bootscripts.html"?>
10
11 <title>LFS-Bootscripts-&lfs-bootscripts-version;</title>
12
13 <indexterm zone="ch-scripts-bootscripts">
14 <primary sortas="a-Bootscripts">Bootscripts</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The LFS-Bootscripts package contains a set of scripts to start/stop the
21 LFS system at bootup/shutdown.</para>
22
23 <segmentedlist>
24 <segtitle>&buildtime;</segtitle>
25 <segtitle>&diskspace;</segtitle>
26
27 <seglistitem>
28 <seg>0.1 SBU</seg>
29 <seg>516 KB</seg>
30 </seglistitem>
31 </segmentedlist>
32
33 <segmentedlist>
34 <segtitle>&dependencies;</segtitle>
35
36 <seglistitem>
37 <seg>Bash and Coreutils</seg>
38 </seglistitem>
39 </segmentedlist>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of LFS-Bootscripts</title>
45
46 <para>Install the package:</para>
47
48<screen><userinput>make install</userinput></screen>
49
50 </sect2>
51
52 <sect2 id="contents-bootscripts" role="content">
53 <title>Contents of LFS-Bootscripts</title>
54
55 <segmentedlist>
56 <segtitle>Installed scripts</segtitle>
57
58 <seglistitem>
59 <seg>checkfs, cleanfs, console, functions, halt, hotplug, ifdown, ifup,
60 localnet, mountfs, mountkernfs, network, rc, reboot, sendsignals,
61 setclock, static, swap, sysklogd, template, and udev</seg>
62 </seglistitem>
63 </segmentedlist>
64
65 <variablelist>
66 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
67 <?dbfo list-presentation="list"?>
68 <?dbhtml list-presentation="table"?>
69
70 <varlistentry id="checkfs-bootscripts">
71 <term><command>checkfs</command></term>
72 <listitem>
73 <para>Checks the integrity of the file systems before they are mounted
74 (with the exception of journal and network based file systems)</para>
75 <indexterm zone="ch-scripts-bootscripts checkfs-bootscripts">
76 <primary sortas="d-checkfs">checkfs</primary>
77 </indexterm>
78 </listitem>
79 </varlistentry>
80
81 <varlistentry id="cleanfs-bootscripts">
82 <term><command>cleanfs</command></term>
83 <listitem>
84 <para>Removes files that should not be preserved between reboots, such
85 as those in <filename class="directory">/var/run/</filename> and
86 <filename class="directory">/var/lock/</filename>; it re-creates
87 <filename>/var/run/utmp</filename> and removes the possibly present
88 <filename>/etc/nologin</filename>, <filename>/fastboot</filename>, and
89 <filename>/forcefsck</filename> files</para>
90 <indexterm zone="ch-scripts-bootscripts cleanfs-bootscripts">
91 <primary sortas="d-cleanfs">cleanfs</primary>
92 </indexterm>
93 </listitem>
94 </varlistentry>
95
96 <varlistentry id="console-bootscripts">
97 <term><command>console</command></term>
98 <listitem>
99 <para>Loads the correct keymap table for the desired keyboard layout;
100 it also sets the screen font</para>
101 <indexterm zone="ch-scripts-bootscripts console-bootscripts">
102 <primary sortas="d-console">console</primary>
103 </indexterm>
104 </listitem>
105 </varlistentry>
106
107 <varlistentry id="functions-bootscripts">
108 <term><command>functions</command></term>
109 <listitem>
110 <para>Contains common functions, such as error and status checking,
111 that are used by several bootscripts</para>
112 <indexterm zone="ch-scripts-bootscripts functions-bootscripts">
113 <primary sortas="d-functions">functions</primary>
114 </indexterm>
115 </listitem>
116 </varlistentry>
117
118 <varlistentry id="halt-bootscripts">
119 <term><command>halt</command></term>
120 <listitem>
121 <para>Halts the system</para>
122 <indexterm zone="ch-scripts-bootscripts halt-bootscripts">
123 <primary sortas="d-halt">halt</primary>
124 </indexterm>
125 </listitem>
126 </varlistentry>
127
128 <varlistentry id="hotplug-bootscripts">
129 <term><command>hotplug</command></term>
130 <listitem>
131 <para>Loads modules for system devices</para>
132 <indexterm zone="ch-scripts-bootscripts hotplug-bootscripts">
133 <primary sortas="d-hotplug">hotplug</primary>
134 </indexterm>
135 </listitem>
136 </varlistentry>
137
138 <varlistentry id="ifdown-bootscripts">
139 <term><command>ifdown</command></term>
140 <listitem>
141 <para>Assists the network script with stopping network devices</para>
142 <indexterm zone="ch-scripts-bootscripts ifdown-bootscripts">
143 <primary sortas="d-ifdown">ifdown</primary>
144 </indexterm>
145 </listitem>
146 </varlistentry>
147
148 <varlistentry id="ifup-bootscripts">
149 <term><command>ifup</command></term>
150 <listitem>
151 <para>Assists the network script with starting network devices</para>
152 <indexterm zone="ch-scripts-bootscripts ifup-bootscripts">
153 <primary sortas="d-ifup">ifup</primary>
154 </indexterm>
155 </listitem>
156 </varlistentry>
157
158 <varlistentry id="localnet-bootscripts">
159 <term><command>localnet</command></term>
160 <listitem>
161 <para>Sets up the system's hostname and local loopback device</para>
162 <indexterm zone="ch-scripts-bootscripts localnet-bootscripts">
163 <primary sortas="d-localnet">localnet</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 <varlistentry id="mountfs-bootscripts">
169 <term><command>mountfs</command></term>
170 <listitem>
171 <para>Mounts all file systems, except ones that are marked
172 <emphasis>noauto</emphasis> or are network based</para>
173 <indexterm zone="ch-scripts-bootscripts mountfs-bootscripts">
174 <primary sortas="d-mountfs">mountfs</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="mountkernfs-bootscripts">
180 <term><command>mountkernfs</command></term>
181 <listitem>
182 <para>Mounts virtual kernel file systems, such as <systemitem
183 class="filesystem">proc</systemitem></para>
184 <indexterm zone="ch-scripts-bootscripts mountkernfs-bootscripts">
185 <primary sortas="d-mountkernfs">mountkernfs</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="network-bootscripts">
191 <term><command>network</command></term>
192 <listitem>
193 <para>Sets up network interfaces, such as network cards, and sets up
194 the default gateway (where applicable)</para>
195 <indexterm zone="ch-scripts-bootscripts network-bootscripts">
196 <primary sortas="d-network">network</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="rc-bootscripts">
202 <term><command>rc</command></term>
203 <listitem>
204 <para>The master run-level control script; it is responsible for
205 running all the other bootscripts one-by-one, in a sequence determined
206 by the name of the symbolic links being processed</para>
207 <indexterm zone="ch-scripts-bootscripts rc-bootscripts">
208 <primary sortas="d-rc">rc</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="reboot-bootscripts">
214 <term><command>reboot</command></term>
215 <listitem>
216 <para>Reboots the system</para>
217 <indexterm zone="ch-scripts-bootscripts reboot-bootscripts">
218 <primary sortas="d-reboot">reboot</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="sendsignals-bootscripts">
224 <term><command>sendsignals</command></term>
225 <listitem>
226 <para>Makes sure every process is terminated before the system reboots
227 or halts</para>
228 <indexterm zone="ch-scripts-bootscripts sendsignals-bootscripts">
229 <primary sortas="d-sendsignals">sendsignals</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="setclock-bootscripts">
235 <term><command>setclock</command></term>
236 <listitem>
237 <para>Resets the kernel clock to local time in case the hardware clock
238 is not set to UTC time</para>
239 <indexterm zone="ch-scripts-bootscripts setclock-bootscripts">
240 <primary sortas="d-setclock">setclock</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 <varlistentry id="static-bootscripts">
246 <term><command>static</command></term>
247 <listitem>
248 <para>Provides the functionality needed to assign a static Internet
249 Protocol (IP) address to a network interface</para>
250 <indexterm zone="ch-scripts-bootscripts static-bootscripts">
251 <primary sortas="d-static">static</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="swap-bootscripts">
257 <term><command>swap</command></term>
258 <listitem>
259 <para>Enables and disables swap files and partitions</para>
260 <indexterm zone="ch-scripts-bootscripts swap-bootscripts">
261 <primary sortas="d-swap">swap</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="sysklogd-bootscripts">
267 <term><command>sysklogd</command></term>
268 <listitem>
269 <para>Starts and stops the system and kernel log daemons</para>
270 <indexterm zone="ch-scripts-bootscripts sysklogd-bootscripts">
271 <primary sortas="d-sysklogd">sysklogd</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
276 <varlistentry id="template-bootscripts">
277 <term><command>template</command></term>
278 <listitem>
279 <para>A template to create custom bootscripts for other
280 daemons</para>
281 <indexterm zone="ch-scripts-bootscripts template-bootscripts">
282 <primary sortas="d-template">template</primary>
283 </indexterm>
284 </listitem>
285 </varlistentry>
286
287 <varlistentry id="udev-bootscripts">
288 <term><command>udev</command></term>
289 <listitem>
290 <para>Prepares the <filename class="directory">/dev</filename>
291 directory and starts Udev</para>
292 <indexterm zone="ch-scripts-bootscripts udev-bootscripts">
293 <primary sortas="d-udev">udev</primary>
294 </indexterm>
295 </listitem>
296 </varlistentry>
297
298 </variablelist>
299
300 </sect2>
301
302</sect1>
Note: See TracBrowser for help on using the repository browser.