source: bootscripts/common/bootscripts.xml@ 9db96cd

Last change on this file since 9db96cd was bf8c11f, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

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