source: chapter07/bootscripts.xml@ 32220fb

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 32220fb was b32e803, checked in by Zack Winkles <winkie@…>, 20 years ago

Committed Alexander's i18n patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3489 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 6.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-scripts-bootscripts" xreflabel="Bootscripts">
7<title>LFS-Bootscripts-&bootscripts-version;</title>
8<?dbhtml filename="bootscripts.html"?>
9
10<indexterm zone="ch-scripts-bootscripts"><primary sortas="a-Bootscripts">Bootscripts</primary></indexterm>
11
12<para>The LFS-Bootscripts package contains a set of bootscripts.</para>
13
14<screen>&buildtime; 0.1 SBU
15&diskspace; 0.3 MB</screen>
16
17<para>LFS-Bootscripts installation depends on: Bash, Coreutils.</para>
18
19
20
21<sect2>
22<title>Installation of LFS-Bootscripts</title>
23
24<para>Installation of the bootscripts is very simple:</para>
25
26<screen><userinput>make install</userinput></screen>
27
28</sect2>
29
30
31<sect2 id="contents-bootscripts"><title>Contents of LFS-bootscripts</title>
32
33<para><emphasis>Installed scripts</emphasis>: checkfs, cleanfs,
34console,
35functions, halt, ifdown, ifup,
36localnet, mountfs, mountkernfs, network, rc,
37reboot, sendsignals, setclock, static, swap, sysklogd and template</para>
38
39</sect2>
40
41
42<sect2><title>Short descriptions</title>
43
44<indexterm zone="ch-scripts-bootscripts checkfs-bootscripts"><primary sortas="d-checkfs">checkfs</primary></indexterm>
45<para id="checkfs-bootscripts">The <command>checkfs</command> script checks the file systems just
46before they are mounted (with the exception of journal and network based
47file systems).</para>
48
49<indexterm zone="ch-scripts-bootscripts cleanfs-bootscripts"><primary sortas="d-cleanfs">cleanfs</primary></indexterm>
50<para id="cleanfs-bootscripts">The <command>cleanfs</command> script removes files that shouldn't be
51preserved between reboots, such as those in <filename>/var/run/</filename> and
52<filename>/var/lock/</filename>. It re-creates <filename>/var/run/utmp</filename>
53and removes the possibly present <filename>/etc/nologin</filename>,
54<filename>/fastboot</filename> and <filename>/forcefsck</filename> files.</para>
55
56<indexterm zone="ch-scripts-bootscripts console-bootscripts"><primary sortas="d-console">console</primary></indexterm>
57<para id="console-bootscripts">The <command>console</command> script
58loads the keymap table you
59specified as proper for your keyboard layout.
60It also sets the screen font.</para>
61
62<indexterm zone="ch-scripts-bootscripts functions-bootscripts"><primary sortas="d-functions">functions</primary></indexterm>
63<para id="functions-bootscripts">The <command>functions</command> script contains functions shared among
64different scripts, such as error and status checking.</para>
65
66<indexterm zone="ch-scripts-bootscripts halt-bootscripts"><primary sortas="d-halt">halt</primary></indexterm>
67<para id="halt-bootscripts">The <command>halt</command> script halts the system.</para>
68
69<indexterm zone="ch-scripts-bootscripts ifdown-bootscripts"><primary sortas="d-ifdown">ifdown</primary></indexterm>
70<para id="ifdown-bootscripts">The <command>ifdown</command> and <command>ifup</command> scripts assist
71the network script with network devices.</para>
72
73<indexterm zone="ch-scripts-bootscripts localnet-bootscripts"><primary sortas="d-localnet">localnet</primary></indexterm>
74<para id="localnet-bootscripts">The <command>localnet</command> script sets up the system's hostname and
75local loopback device.</para>
76
77<indexterm zone="ch-scripts-bootscripts mountfs-bootscripts"><primary sortas="d-mountfs">mountfs</primary></indexterm>
78<para id="mountfs-bootscripts">The <command>mountfs</command> script mounts all file systems that
79aren't marked <emphasis>noauto</emphasis> or aren't network based.</para>
80
81<indexterm zone="ch-scripts-bootscripts mountkernfs-bootscripts"><primary sortas="d-mountkernfs">mountkernfs</primary></indexterm>
82<para id="mountkernfs-bootscripts">The <command>mountkernfs</command> script is used to mount
83kernel-provided file systems, such as /proc.</para>
84
85<indexterm zone="ch-scripts-bootscripts network-bootscripts"><primary sortas="d-network">network</primary></indexterm>
86<para id="network-bootscripts">The <command>network</command> script sets up network interfaces, such
87as network cards, and sets up the default gateway where applicable.</para>
88
89<indexterm zone="ch-scripts-bootscripts rc-bootscripts"><primary sortas="d-rc">rc</primary></indexterm>
90<para id="rc-bootscripts">The <command>rc</command> script is the master run-level control script.
91It is responsible for running all the other scripts one-by-one, in a sequence
92determined by the name of the symbolic links being processed.</para>
93
94<indexterm zone="ch-scripts-bootscripts reboot-bootscripts"><primary sortas="d-reboot">reboot</primary></indexterm>
95<para id="reboot-bootscripts">The <command>reboot</command> script reboots the system.</para>
96
97<indexterm zone="ch-scripts-bootscripts sendsignals-bootscripts"><primary sortas="d-sendsignals">sendsignals</primary></indexterm>
98<para id="sendsignals-bootscripts">The <command>sendsignals</command> script makes sure every process is
99terminated before the system reboots or halts.</para>
100
101<indexterm zone="ch-scripts-bootscripts setclock-bootscripts"><primary sortas="d-setclock">setclock</primary></indexterm>
102<para id="setclock-bootscripts">The <command>setclock</command> script resets the kernel clock to
103localtime in case the hardware clock isn't set to GMT time.</para>
104
105<indexterm zone="ch-scripts-bootscripts static-bootscripts"><primary sortas="d-static">static</primary></indexterm>
106<para id="static-bootscripts">The <command>static</command> script provides the functionality needed
107to assign a static IP address to a network interface.</para>
108
109<indexterm zone="ch-scripts-bootscripts swap-bootscripts"><primary sortas="d-swap">swap</primary></indexterm>
110<para id="swap-bootscripts">The <command>swap</command> script enables and disables swap files and
111partitions.</para>
112
113<indexterm zone="ch-scripts-bootscripts sysklogd-bootscripts"><primary sortas="d-sysklogd">sysklogd</primary></indexterm>
114<para id="sysklogd-bootscripts">The <command>sysklogd</command> script starts and stops the system and
115kernel log daemons.</para>
116
117<indexterm zone="ch-scripts-bootscripts template-bootscripts"><primary sortas="d-template">template</primary></indexterm>
118<para id="template-bootscripts">The <command>template</command> script is a template you can use to
119create your own bootscripts for your other daemons.</para>
120
121</sect2>
122
123
124
125</sect1>
Note: See TracBrowser for help on using the repository browser.