Added a few comments here and there
[linux_from_scratch.git] / newxml / appendixa / lfs-bootscripts.xml
blob4603b49b748524b4a29b0494460d9ae63d636399
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3CR2//EN" "http://www.docbook.org/xml/4.3CR2/docbookx.dtd">
3 <sect1 id="aa-bootscripts" xreflabel="LFS-Bootscripts">
4 <title>LFS-Bootscripts</title>
5 <?dbhtml filename="bootscripts.html"?>
7 <para>For installation instructions see <xref linkend="ch06-lfs-bootscripts"/>.</para>
9 <sect2><title>Official Download Location</title>
11 <literallayout>LFS-Bootscripts (1.12): 
12 <ulink url="http://downloads.linuxfromscratch.org/"/></literallayout>
13 </sect2>
15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="lfs-bootscripts-contents.xml"/>
19 <sect2><title>Short descriptions</title>
21 <para>The <command>checkfs</command> script checks the file systems just
22 before they are mounted (with the exception of journal and network based file
23 systems).</para>
25 <para>The <command>cleanfs</command> script removes files that shouldn't be
26 preserved between reboots, such as those in <filename>/var/run/</filename> and
27 <filename>/var/lock/</filename>. It re-creates <filename>/var/run/utmp</filename>
28 and removes the possibly present <filename>/etc/nologin</filename>,
29 <filename>/fastboot</filename> and <filename>/forcefsck</filename> files.</para>
31 <para>The <command>functions</command> script contains functions shared among
32 different scripts, such as error and status checking.</para>
34 <para>The <command>halt</command> script halts the system.</para>
36 <para>The <command>ifdown</command> and <command>ifup</command> scripts assist
37 the network script with network devices.</para>
39 <para>The <command>loadkeys</command> script loads the keymap table you
40 specified as proper for your keyboard layout.</para>
42 <para>The <command>localnet</command> script sets up the system's hostname and
43 local loopback device.</para>
45 <para>The <command>mountfs</command> script mounts all file systems that
46 aren't marked noauto or aren't network based.</para>
48 <para>The <command>mountproc</command> script is used to mount the proc
49 filesystem.</para>
51 <para>The <command>network</command> script sets up network interfaces, such
52 as network cards, and sets up the default gateway where applicable.</para>
54 <para>The <command>rc</command> script is the master runlevel control script.
55 It is responsible for running all the other scripts one-by-one in a specific
56 sequence.</para>
58 <para>The <command>reboot</command> script reboots the system.</para>
60 <para>The <command>sendsignals</command> script makes sure every process is
61 terminated before the system reboots or halts.</para>
63 <para>The <command>setclock</command> script resets the kernel clock to
64 localtime in case the hardware clock isn't set to GMT time.</para>
66 <para>The <command>swap</command> script enables and disables swap files and
67 partitions.</para>
69 <para>The <command>sysklogd</command> script starts and stops the system and
70 kernel log daemons.</para>
72 <para>The <command>template</command> script is a template you can use to
73 create your own bootscripts for your other daemons.</para>
75 </sect2>
79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="lfs-bootscripts-deps.xml"/>
83 </sect1>