aboutsummaryrefslogtreecommitdiffstats
path: root/appendixa/bootscripts-desc.xml
blob: faa237c22e079bcafe9000c12226694b3ff4786d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<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 <emphasis>noauto</emphasis> or aren't network based.</para>

<para>The <command>mountproc</command> script is used to mount the proc
file system.</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>