source: chapter07/bootscripts.xml@ 9288c84

Last change on this file since 9288c84 was 8038ff4, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Updated multi-arch brach to testing r4451.

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

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