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