source: chapter07/bootscripts.xml@ e7a605c

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