source: bootscripts/common/bootscripts.xml@ ea56917

Last change on this file since ea56917 was 2659c74, checked in by Jim Gifford <clfs@…>, 19 years ago

r677@server (orig r675): manuel | 2005-11-10 03:13:57 -0800
Including patches.ent from general.ent

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