2002-02-06 23:15:46 +00:00
|
|
|
<sect2><title>Contents of LFS-bootscripts-&bootscripts-contversion;</title>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect3><title>Scripts</title>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<para>checkfs, cleanfs, functions, halt, loadkeys, localnet, mountfs,
|
|
|
|
network, rc, reboot, sendsignals, setclock, swap, sysklogd and
|
|
|
|
template</para></sect3>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect3><title>Descriptions</title>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect4><title>checkfs</title>
|
2002-01-15 23:48:18 +00:00
|
|
|
<para>The checkfs script checks the file systems just before they are
|
|
|
|
mounted (with the exception of journal and network based file
|
2002-02-06 23:15:46 +00:00
|
|
|
systems)</para></sect4>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect4><title>cleanfs</title>
|
2002-01-15 23:48:18 +00:00
|
|
|
<para>The cleanfs script removes files that shouldn't be preserved between
|
|
|
|
reboots, such as /var/run/*, /var/lock/*, it re-creates /var/run/utmp and
|
|
|
|
removes the possible present /etc/nologin, /fastboot and /forcefsck
|
2002-02-06 23:15:46 +00:00
|
|
|
files.</para></sect4>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect4><title>functions</title>
|
2002-01-15 23:48:18 +00:00
|
|
|
<para>The functions script contains shared functions among different
|
2002-02-06 23:15:46 +00:00
|
|
|
scripts such as error checking, status checking, etc.</para></sect4>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect4><title>halt</title>
|
|
|
|
<para>The halt script halts the system.</para></sect4>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect4><title>loadkeys</title>
|
2002-01-15 23:48:18 +00:00
|
|
|
<para>The loadkeys script loads the proper keymap table that matches your
|
2002-02-06 23:15:46 +00:00
|
|
|
keyboard layout.</para></sect4>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect4><title>localnet</title>
|
2002-01-15 23:48:18 +00:00
|
|
|
<para>The localnet script sets up the system's hostname and local loopback
|
2002-02-06 23:15:46 +00:00
|
|
|
device.</para></sect4>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect4><title>mountfs</title>
|
2002-01-15 23:48:18 +00:00
|
|
|
<para>The mountfs script mounts all file systems that aren't marked noauto
|
2002-02-06 23:15:46 +00:00
|
|
|
or aren't network based.</para></sect4>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect4><title>network</title>
|
2002-01-15 23:48:18 +00:00
|
|
|
<para>The network script setup network interfaces (such as network cards)
|
2002-02-06 23:15:46 +00:00
|
|
|
and sets up the default gateway where applicable.</para></sect4>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect4><title>rc</title>
|
2002-01-15 23:48:18 +00:00
|
|
|
<para>The rc script is the master runlevel control script which is
|
|
|
|
responsible for running all the other scripts one-by-one in a specific
|
2002-02-06 23:15:46 +00:00
|
|
|
sequence.</para></sect4>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect4><title>reboot</title>
|
|
|
|
<para>The reboot scripts reboots the system.</para></sect4>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect4><title>sendsignals</title>
|
2002-01-15 23:48:18 +00:00
|
|
|
<para>The sendsignals script makes sure every process is terminated before
|
2002-02-06 23:15:46 +00:00
|
|
|
the system reboots or halts.</para></sect4>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect4><title>setclock</title>
|
2002-01-15 23:49:52 +00:00
|
|
|
<para>The setclock scripts resets the kernel clock to localtime in case
|
2002-02-06 23:15:46 +00:00
|
|
|
the hardware clock isn't set to GMT time.</para></sect4>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect4><title>swap</title>
|
2002-01-15 23:48:18 +00:00
|
|
|
<para>The swap scripts enables and disables swap files and
|
2002-02-06 23:15:46 +00:00
|
|
|
partitions.</para></sect4>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect4><title>sysklogd</title>
|
2002-01-15 23:48:18 +00:00
|
|
|
<para>The sysklogd script start and stops the system and kernel log
|
2002-02-06 23:15:46 +00:00
|
|
|
daemons.</para></sect4>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect4><title>template</title>
|
2002-01-15 23:48:18 +00:00
|
|
|
<para>The template script is a template you can use to create your own
|
2002-02-06 23:15:46 +00:00
|
|
|
bootscripts for your other daemons.</para></sect4>
|
|
|
|
|
|
|
|
</sect3>
|
2002-01-15 23:48:18 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|