source: chapter07/bootscripts.xml@ fae9234

Last change on this file since fae9234 was 56964fb, checked in by Jim Gifford <jim@…>, 19 years ago

Updated RaQ2 started PPC integration

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multi-arch/BOOK@4539 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.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/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>LFS-Bootscripts installation depends on</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
54<varlistentry id="checkfs-bootscripts">
55<term><command>checkfs</command></term>
56<listitem>
57<para>Checks the file systems before they are mounted (with the exception of journal
58and network based file systems)</para>
59<indexterm zone="ch-scripts-bootscripts checkfs-bootscripts"><primary sortas="d-checkfs">checkfs</primary></indexterm>
60</listitem>
61</varlistentry>
62
63<varlistentry id="cleanfs-bootscripts">
64<term><command>cleanfs</command></term>
65<listitem>
66<para>Removes files that should not be
67preserved between reboots, such as those in <filename class="directory">/var/run/</filename> and
68<filename class="directory">/var/lock/</filename>; it re-creates <filename>/var/run/utmp</filename>
69and removes the possibly present <filename>/etc/nologin</filename>,
70<filename>/fastboot</filename>, and <filename>/forcefsck</filename> files</para>
71<indexterm zone="ch-scripts-bootscripts cleanfs-bootscripts"><primary sortas="d-cleanfs">cleanfs</primary></indexterm>
72</listitem>
73</varlistentry>
74
75<varlistentry id="console-bootscripts">
76<term><command>console</command></term>
77<listitem>
78<para>Loads the keymap table specified as proper for the keyboard
79layout; it also sets the screen font</para>
80<indexterm zone="ch-scripts-bootscripts console-bootscripts"><primary sortas="d-console">console</primary></indexterm>
81</listitem>
82</varlistentry>
83
84<varlistentry id="functions-bootscripts">
85<term><command>functions</command></term>
86<listitem>
87<para>Contains functions shared among different scripts, such as error
88and status checking</para>
89<indexterm zone="ch-scripts-bootscripts functions-bootscripts"><primary sortas="d-functions">functions</primary></indexterm>
90</listitem>
91</varlistentry>
92
93<varlistentry id="halt-bootscripts">
94<term><command>halt</command></term>
95<listitem>
96<para>Halts the system</para>
97<indexterm zone="ch-scripts-bootscripts halt-bootscripts"><primary sortas="d-halt">halt</primary></indexterm>
98</listitem>
99</varlistentry>
100
101<varlistentry id="hotplug-bootscripts">
102<term><command>hotplug</command></term>
103<listitem>
104<para>Load modules for system devices</para>
105<indexterm zone="ch-scripts-bootscripts hotplug-bootscripts"><primary sortas="d-hotplug">hotplug</primary></indexterm>
106</listitem>
107</varlistentry>
108
109<varlistentry id="ifdown-bootscripts">
110<term><command>ifdown</command></term>
111<listitem>
112<para>Assists the network script with network devices</para>
113<indexterm zone="ch-scripts-bootscripts ifdown-bootscripts"><primary sortas="d-ifdown">ifdown</primary></indexterm>
114</listitem>
115</varlistentry>
116
117<varlistentry id="ifup-bootscripts">
118<term><command>ifup</command></term>
119<listitem>
120<para>Assists the network script with network devices</para>
121<indexterm zone="ch-scripts-bootscripts ifup-bootscripts"><primary sortas="d-ifup">ifup</primary></indexterm>
122</listitem>
123</varlistentry>
124
125<varlistentry id="localnet-bootscripts">
126<term><command>localnet</command></term>
127<listitem>
128<para>Sets up the system's hostname and local loopback device</para>
129<indexterm zone="ch-scripts-bootscripts localnet-bootscripts"><primary sortas="d-localnet">localnet</primary></indexterm>
130</listitem>
131</varlistentry>
132
133<varlistentry id="mountfs-bootscripts">
134<term><command>mountfs</command></term>
135<listitem>
136<para>Mounts all file systems, except ones that are marked
137<emphasis>noauto</emphasis> or are network based</para>
138<indexterm zone="ch-scripts-bootscripts mountfs-bootscripts"><primary sortas="d-mountfs">mountfs</primary></indexterm>
139</listitem>
140</varlistentry>
141
142<varlistentry id="mountkernfs-bootscripts">
143<term><command>mountkernfs</command></term>
144<listitem>
145<para>Is used to mount kernel-provided file systems, such as
146<systemitem class="filesystem">proc</systemitem></para>
147<indexterm zone="ch-scripts-bootscripts mountkernfs-bootscripts"><primary sortas="d-mountkernfs">mountkernfs</primary></indexterm>
148</listitem>
149</varlistentry>
150
151<varlistentry id="network-bootscripts">
152<term><command>network</command></term>
153<listitem>
154<para>Sets up network interfaces, such as network cards, and sets up
155the default gateway (where applicable)</para>
156<indexterm zone="ch-scripts-bootscripts network-bootscripts"><primary sortas="d-network">network</primary></indexterm>
157</listitem>
158</varlistentry>
159
160<varlistentry id="rc-bootscripts">
161<term><command>rc</command></term>
162<listitem>
163<para>The master run-level control script; it is responsible for
164running all other scripts one-by-one, in a sequence determined by
165the name of the symbolic links being processed</para>
166<indexterm zone="ch-scripts-bootscripts rc-bootscripts"><primary sortas="d-rc">rc</primary></indexterm>
167</listitem>
168</varlistentry>
169
170<varlistentry id="reboot-bootscripts">
171<term><command>reboot</command></term>
172<listitem>
173<para>Reboots the system</para>
174<indexterm zone="ch-scripts-bootscripts reboot-bootscripts"><primary sortas="d-reboot">reboot</primary></indexterm>
175</listitem>
176</varlistentry>
177
178<varlistentry id="sendsignals-bootscripts">
179<term><command>sendsignals</command></term>
180<listitem>
181<para>Makes sure every process is terminated before the system reboots
182or halts</para>
183<indexterm zone="ch-scripts-bootscripts sendsignals-bootscripts"><primary sortas="d-sendsignals">sendsignals</primary></indexterm>
184</listitem>
185</varlistentry>
186
187<varlistentry id="setclock-bootscripts">
188<term><command>setclock</command></term>
189<listitem>
190<para>Resets the kernel clock to local time in case the hardware clock
191is not set to UTC time</para>
192<indexterm zone="ch-scripts-bootscripts setclock-bootscripts"><primary sortas="d-setclock">setclock</primary></indexterm>
193</listitem>
194</varlistentry>
195
196<varlistentry id="static-bootscripts">
197<term><command>static</command></term>
198<listitem>
199<para>Provides the functionality needed to assign a static Internet
200Protocol (IP) address to a network interface</para>
201<indexterm zone="ch-scripts-bootscripts static-bootscripts"><primary sortas="d-static">static</primary></indexterm>
202</listitem>
203</varlistentry>
204
205<varlistentry id="swap-bootscripts">
206<term><command>swap</command></term>
207<listitem>
208<para>Enables and disables swap files and partitions</para>
209<indexterm zone="ch-scripts-bootscripts swap-bootscripts"><primary sortas="d-swap">swap</primary></indexterm>
210</listitem>
211</varlistentry>
212
213<varlistentry id="syslog-ng-bootscripts">
214<term><command>syslog-ng</command></term>
215<listitem>
216<para>Starts and stops the system and kernel log daemons</para>
217<indexterm zone="ch-scripts-bootscripts syslog-ng-bootscripts"><primary sortas="d-syslog-ng">syslog-ng</primary></indexterm>
218</listitem>
219</varlistentry>
220
221<varlistentry id="template-bootscripts">
222<term><command>template</command></term>
223<listitem>
224<para>A template to create custom bootscripts for other
225daemons</para>
226<indexterm zone="ch-scripts-bootscripts template-bootscripts"><primary sortas="d-template">template</primary></indexterm>
227</listitem>
228</varlistentry>
229
230<varlistentry id="udev-bootscripts">
231<term><command>udev</command></term>
232<listitem>
233<para>Sets up udev and create the devices nodes in <filename
234class="directory">/dev</filename></para>
235<indexterm zone="ch-scripts-bootscripts udev-bootscripts"><primary sortas="d-udev">udev</primary></indexterm>
236</listitem>
237</varlistentry>
238</variablelist>
239
240</sect2>
241
242</sect1>
243
Note: See TracBrowser for help on using the repository browser.