aboutsummaryrefslogtreecommitdiffstats
path: root/appendixa/bootscripts-desc.xml
blob: 8dc676fb38fcac89a0f53db76925bda18a44c33d (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
59
60
61
62
63
64
65
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

<sect2><title>Descriptions</title>

<para>(Last checked against version &bootscripts-contversion;.)</para>

<sect3><title>Program file 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 /var/run/* and /var/lock/*. It re-creates /var/run/utmp and
removes the possibly present /etc/nologin, /fastboot and /forcefsck
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>

</sect3>

</sect2>