source: bootscripts/common/bootscripts.xml@ eac7362

Last change on this file since eac7362 was 762c414, checked in by Jim Gifford <clfs@…>, 19 years ago

r662@server (orig r660): manuel | 2005-11-08 13:37:45 -0800
Removing SBUs and DUs. Chapters bootscripts and bootable.

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