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