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