source: chapter07/bootscripts.xml@ aabd480

6.1 6.1.1
Last change on this file since aabd480 was aabd480, checked in by Archaic <archaic@…>, 19 years ago

Brought all occurences of LFS-Bootscripts into conformity. (merged from trunk r6288)

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1/BOOK@6308 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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