1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-scripts-introduction">
|
---|
9 | <?dbhtml filename="introduction.html"?>
|
---|
10 |
|
---|
11 | <title>Introduction</title>
|
---|
12 |
|
---|
13 | <para>This chapter discusses configuration files and boot scripts.
|
---|
14 | First, the general configuration files needed to set up networking are
|
---|
15 | presented.</para>
|
---|
16 |
|
---|
17 | <itemizedlist>
|
---|
18 | <listitem>
|
---|
19 | <para><xref linkend="ch-scripts-network" role="."/></para>
|
---|
20 | </listitem>
|
---|
21 | <listitem>
|
---|
22 | <para><xref linkend="ch-scripts-hosts" role="."/></para>
|
---|
23 | </listitem>
|
---|
24 | </itemizedlist>
|
---|
25 |
|
---|
26 | <para>Second, issues that affect the proper setup of devices diescussed.</para>
|
---|
27 |
|
---|
28 | <itemizedlist>
|
---|
29 | <listitem>
|
---|
30 | <para><xref linkend="ch-scripts-udev" role="."/></para>
|
---|
31 | </listitem>
|
---|
32 | <listitem>
|
---|
33 | <para><xref linkend="ch-scripts-symlinks" role="."/></para>
|
---|
34 | </listitem>
|
---|
35 | </itemizedlist>
|
---|
36 |
|
---|
37 | <para>The next sections detail how to install and configure the LFS system
|
---|
38 | scripts needed during the boot process. Most of these scripts will work
|
---|
39 | without modification, but a few require additional configuration files
|
---|
40 | because they deal with hardware-dependent information.</para>
|
---|
41 |
|
---|
42 | <para>System-V style init scripts are employed in this book because they are
|
---|
43 | widely used and relatively simple. For additional options, a hint detailing
|
---|
44 | the BSD style init setup is available at <ulink
|
---|
45 | url="&hints-root;bsd-init.txt"/>. Searching the LFS mailing lists for
|
---|
46 | <quote>depinit</quote>, <quote>upstart</quote>, or <quote>systemd</quote>
|
---|
47 | will also offer additional information.</para>
|
---|
48 |
|
---|
49 | <para>If using an alternative style of init scripts, skip these sections.</para>
|
---|
50 |
|
---|
51 | <para>A listing of the boot scripts are found in <xref linkend="scripts"
|
---|
52 | role="."/>.</para>
|
---|
53 |
|
---|
54 |
|
---|
55 | <itemizedlist>
|
---|
56 | <listitem>
|
---|
57 | <para><xref linkend="ch-scripts-bootscripts" role="."/></para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para><xref linkend="ch-scripts-usage" role="."/></para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para><xref linkend="ch-scripts-hostname" role="."/></para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para><xref linkend="ch-scripts-setclock" role="."/></para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para><xref linkend="ch-scripts-console" role="."/></para>
|
---|
70 | </listitem>
|
---|
71 | <listitem>
|
---|
72 | <para><xref linkend="ch-scripts-sysklogd" role="."/></para>
|
---|
73 | </listitem>
|
---|
74 | </itemizedlist>
|
---|
75 |
|
---|
76 |
|
---|
77 | <para>Finally, there is a brief introduction to the scripts and configuration
|
---|
78 | files used when the user logs into the system.</para>
|
---|
79 |
|
---|
80 | <itemizedlist>
|
---|
81 | <listitem>
|
---|
82 | <para><xref linkend="ch-scripts-profile" role="."/></para>
|
---|
83 | </listitem>
|
---|
84 | <listitem>
|
---|
85 | <para><xref linkend="ch-scripts-inputrc" role="."/></para>
|
---|
86 | </listitem>
|
---|
87 | </itemizedlist>
|
---|
88 |
|
---|
89 |
|
---|
90 | </sect1>
|
---|