1 | <sect2><title>Contents of LFS-bootscripts-&bootscripts-contversion;</title>
|
---|
2 |
|
---|
3 | <sect3><title>Scripts</title>
|
---|
4 |
|
---|
5 | <para>checkfs, cleanfs, functions, halt, loadkeys, localnet, mountfs,
|
---|
6 | network, rc, reboot, sendsignals, setclock, swap, sysklogd and
|
---|
7 | template</para></sect3>
|
---|
8 |
|
---|
9 | <sect3><title>Descriptions</title>
|
---|
10 |
|
---|
11 | <sect4><title>checkfs</title>
|
---|
12 | <para>The checkfs script checks the file systems just before they are
|
---|
13 | mounted (with the exception of journal and network based file
|
---|
14 | systems)</para></sect4>
|
---|
15 |
|
---|
16 | <sect4><title>cleanfs</title>
|
---|
17 | <para>The cleanfs script removes files that shouldn't be preserved between
|
---|
18 | reboots, such as /var/run/*, /var/lock/*, it re-creates /var/run/utmp and
|
---|
19 | removes the possible present /etc/nologin, /fastboot and /forcefsck
|
---|
20 | files.</para></sect4>
|
---|
21 |
|
---|
22 | <sect4><title>functions</title>
|
---|
23 | <para>The functions script contains shared functions among different
|
---|
24 | scripts such as error checking, status checking, etc.</para></sect4>
|
---|
25 |
|
---|
26 | <sect4><title>halt</title>
|
---|
27 | <para>The halt script halts the system.</para></sect4>
|
---|
28 |
|
---|
29 | <sect4><title>loadkeys</title>
|
---|
30 | <para>The loadkeys script loads the proper keymap table that matches your
|
---|
31 | keyboard layout.</para></sect4>
|
---|
32 |
|
---|
33 | <sect4><title>localnet</title>
|
---|
34 | <para>The localnet script sets up the system's hostname and local loopback
|
---|
35 | device.</para></sect4>
|
---|
36 |
|
---|
37 | <sect4><title>mountfs</title>
|
---|
38 | <para>The mountfs script mounts all file systems that aren't marked noauto
|
---|
39 | or aren't network based.</para></sect4>
|
---|
40 |
|
---|
41 | <sect4><title>network</title>
|
---|
42 | <para>The network script setup network interfaces (such as network cards)
|
---|
43 | and sets up the default gateway where applicable.</para></sect4>
|
---|
44 |
|
---|
45 | <sect4><title>rc</title>
|
---|
46 | <para>The rc script is the master runlevel control script which is
|
---|
47 | responsible for running all the other scripts one-by-one in a specific
|
---|
48 | sequence.</para></sect4>
|
---|
49 |
|
---|
50 | <sect4><title>reboot</title>
|
---|
51 | <para>The reboot scripts reboots the system.</para></sect4>
|
---|
52 |
|
---|
53 | <sect4><title>sendsignals</title>
|
---|
54 | <para>The sendsignals script makes sure every process is terminated before
|
---|
55 | the system reboots or halts.</para></sect4>
|
---|
56 |
|
---|
57 | <sect4><title>setclock</title>
|
---|
58 | <para>The setclock scripts resets the kernel clock to localtime in case
|
---|
59 | the hardware clock isn't set to GMT time.</para></sect4>
|
---|
60 |
|
---|
61 | <sect4><title>swap</title>
|
---|
62 | <para>The swap scripts enables and disables swap files and
|
---|
63 | partitions.</para></sect4>
|
---|
64 |
|
---|
65 | <sect4><title>sysklogd</title>
|
---|
66 | <para>The sysklogd script start and stops the system and kernel log
|
---|
67 | daemons.</para></sect4>
|
---|
68 |
|
---|
69 | <sect4><title>template</title>
|
---|
70 | <para>The template script is a template you can use to create your own
|
---|
71 | bootscripts for your other daemons.</para></sect4>
|
---|
72 |
|
---|
73 | </sect3>
|
---|
74 |
|
---|
75 | </sect2>
|
---|
76 |
|
---|