source: chapter07/bootscripts.xml@ 7862089

Last change on this file since 7862089 was a0e1913, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Removed the package name from the dependencies titles.

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

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