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