source: BOOK/bootscripts/common/bootscripts.xml@ c64abcb

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c64abcb was cc73be6, checked in by Jim Gifford <clfs@…>, 16 years ago

Fixed File Sizes. Order of Packages.ent. Fixed naming of Bootscripts

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