source: chapter07/bootscripts.xml@ 4ee4088

Last change on this file since 4ee4088 was 6369eb8, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Added hotplug to the list of instaled bootscripts.

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