LDP/LDP/retired/LFS/appendixa/bootscripts-desc.xml

61 lines
2.4 KiB
XML

<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2><title>Short descriptions</title>
<para>The <command>checkfs</command> script checks the file systems just
before they are mounted (with the exception of journal and network based file
systems).</para>
<para>The <command>cleanfs</command> script removes files that shouldn't be
preserved between reboots, such as those in <filename>/var/run/</filename> and
<filename>/var/lock/</filename>. It re-creates <filename>/var/run/utmp</filename>
and removes the possibly present <filename>/etc/nologin</filename>,
<filename>/fastboot</filename> and <filename>/forcefsck</filename> files.</para>
<para>The <command>functions</command> script contains functions shared among
different scripts, such as error and status checking.</para>
<para>The <command>halt</command> script halts the system.</para>
<para>The <command>ifdown</command> and <command>ifup</command> scripts assist
the network script with network devices.</para>
<para>The <command>loadkeys</command> script loads the keymap table you
specified as proper for your keyboard layout.</para>
<para>The <command>localnet</command> script sets up the system's hostname and
local loopback device.</para>
<para>The <command>mountfs</command> script mounts all file systems that
aren't marked noauto or aren't network based.</para>
<para>The <command>mountproc</command> script is used to mount the proc
filesystem.</para>
<para>The <command>network</command> script sets up network interfaces, such
as network cards, and sets up the default gateway where applicable.</para>
<para>The <command>rc</command> script is the master runlevel control script.
It is responsible for running all the other scripts one-by-one in a specific
sequence.</para>
<para>The <command>reboot</command> script reboots the system.</para>
<para>The <command>sendsignals</command> script makes sure every process is
terminated before the system reboots or halts.</para>
<para>The <command>setclock</command> script resets the kernel clock to
localtime in case the hardware clock isn't set to GMT time.</para>
<para>The <command>swap</command> script enables and disables swap files and
partitions.</para>
<para>The <command>sysklogd</command> script starts and stops the system and
kernel log daemons.</para>
<para>The <command>template</command> script is a template you can use to
create your own bootscripts for your other daemons.</para>
</sect2>