source: bootscripts/common/bootscripts.xml@ 204a9e5

Last change on this file since 204a9e5 was 33b9fae, checked in by Jim Gifford <clfs@…>, 19 years ago

r2613@server: jim | 2006-03-15 14:47:15 -0800
Changed to CLFS-bootscripts

  • Property mode set to 100644
File size: 9.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>CLFS-Bootscripts-&clfs-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 CLFS-Bootscripts package contains a set of scripts to
21 start/stop the CLFS system at bootup/shutdown.</para>
22
23 <segmentedlist>
24 <segtitle>&dependencies;</segtitle>
25
26 <seglistitem>
27 <seg>Bash, Coreutils, Make, and Sed</seg>
28 </seglistitem>
29 </segmentedlist>
30
31 </sect2>
32
33 <sect2 role="installation">
34 <title>Installation of CLFS-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 CLFS-Bootscripts</title>
44
45 <segmentedlist>
46 <segtitle>Installed scripts</segtitle>
47
48 <seglistitem>
49 <seg>checkfs, cleanfs, console, functions, halt, ifdown,
50 ifup, localnet, mountfs, mountkernfs, network, rc, reboot, sendsignals,
51 setclock, static, swap, sysklogd, and template.</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="ifdown-bootscripts">
120 <term><command>ifdown</command></term>
121 <listitem>
122 <para>Assists the network script with stopping network devices</para>
123 <indexterm zone="ch-scripts-bootscripts ifdown-bootscripts">
124 <primary sortas="d-ifdown">ifdown</primary>
125 </indexterm>
126 </listitem>
127 </varlistentry>
128
129 <varlistentry id="ifup-bootscripts">
130 <term><command>ifup</command></term>
131 <listitem>
132 <para>Assists the network script with starting network devices</para>
133 <indexterm zone="ch-scripts-bootscripts ifup-bootscripts">
134 <primary sortas="d-ifup">ifup</primary>
135 </indexterm>
136 </listitem>
137 </varlistentry>
138
139 <varlistentry id="localnet-bootscripts">
140 <term><command>localnet</command></term>
141 <listitem>
142 <para>Sets up the system's hostname and local loopback device</para>
143 <indexterm zone="ch-scripts-bootscripts localnet-bootscripts">
144 <primary sortas="d-localnet">localnet</primary>
145 </indexterm>
146 </listitem>
147 </varlistentry>
148
149 <varlistentry id="mountfs-bootscripts">
150 <term><command>mountfs</command></term>
151 <listitem>
152 <para>Mounts all file systems, except ones that are marked
153 <emphasis>noauto</emphasis> or are network based</para>
154 <indexterm zone="ch-scripts-bootscripts mountfs-bootscripts">
155 <primary sortas="d-mountfs">mountfs</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 <varlistentry id="mountkernfs-bootscripts">
161 <term><command>mountkernfs</command></term>
162 <listitem>
163 <para>Mounts virtual kernel file systems, such as
164 <systemitem class="filesystem">proc</systemitem></para>
165 <indexterm zone="ch-scripts-bootscripts mountkernfs-bootscripts">
166 <primary sortas="d-mountkernfs">mountkernfs</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 <varlistentry id="network-bootscripts">
172 <term><command>network</command></term>
173 <listitem>
174 <para>Sets up network interfaces, such as network cards, and sets up
175 the default gateway (where applicable)</para>
176 <indexterm zone="ch-scripts-bootscripts network-bootscripts">
177 <primary sortas="d-network">network</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="rc-bootscripts">
183 <term><command>rc</command></term>
184 <listitem>
185 <para>The master run-level control script; it is responsible for
186 running all the other bootscripts one-by-one, in a sequence
187 determined by the name of the symbolic links being processed</para>
188 <indexterm zone="ch-scripts-bootscripts rc-bootscripts">
189 <primary sortas="d-rc">rc</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="reboot-bootscripts">
195 <term><command>reboot</command></term>
196 <listitem>
197 <para>Reboots the system</para>
198 <indexterm zone="ch-scripts-bootscripts reboot-bootscripts">
199 <primary sortas="d-reboot">reboot</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="sendsignals-bootscripts">
205 <term><command>sendsignals</command></term>
206 <listitem>
207 <para>Makes sure every process is terminated before the system reboots
208 or halts</para>
209 <indexterm zone="ch-scripts-bootscripts sendsignals-bootscripts">
210 <primary sortas="d-sendsignals">sendsignals</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="setclock-bootscripts">
216 <term><command>setclock</command></term>
217 <listitem>
218 <para>Resets the kernel clock to local time in case the hardware clock
219 is not set to UTC time</para>
220 <indexterm zone="ch-scripts-bootscripts setclock-bootscripts">
221 <primary sortas="d-setclock">setclock</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="static-bootscripts">
227 <term><command>static</command></term>
228 <listitem>
229 <para>Provides the functionality needed to assign a static Internet
230 Protocol (IP) address to a network interface</para>
231 <indexterm zone="ch-scripts-bootscripts static-bootscripts">
232 <primary sortas="d-static">static</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 <varlistentry id="swap-bootscripts">
238 <term><command>swap</command></term>
239 <listitem>
240 <para>Enables and disables swap files and partitions</para>
241 <indexterm zone="ch-scripts-bootscripts swap-bootscripts">
242 <primary sortas="d-swap">swap</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 <varlistentry id="sysklogd-bootscripts">
248 <term><command>sysklogd</command></term>
249 <listitem>
250 <para>Starts and stops the system and kernel log daemons</para>
251 <indexterm zone="ch-scripts-bootscripts sysklogd-bootscripts">
252 <primary sortas="d-sysklogd">sysklogd</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256
257 <varlistentry id="template-bootscripts">
258 <term><command>template</command></term>
259 <listitem>
260 <para>A template to create custom bootscripts for other
261 daemons</para>
262 <indexterm zone="ch-scripts-bootscripts template-bootscripts">
263 <primary sortas="d-template">template</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>
267
268 </variablelist>
269
270 </sect2>
271
272</sect1>
Note: See TracBrowser for help on using the repository browser.