source: BOOK/system-config/common/bootscripts.xml@ 6950fcb

clfs-3.0.0-sysvinit sysvinit
Last change on this file since 6950fcb was 775d9a7, checked in by Chris Staub <chris@…>, 11 years ago

Renamed Bootscripts chapter to System Configuration

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