2004-05-03 11:59:46 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-03-21 18:42:58 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-05-03 11:59:46 +01:00
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2005-12-18 18:31:04 +00:00
|
|
|
|
2004-05-03 11:59:46 +01:00
|
|
|
<sect1 id="ch-scripts-introduction">
|
2005-12-18 18:31:04 +00:00
|
|
|
<?dbhtml filename="introduction.html"?>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2005-12-18 18:31:04 +00:00
|
|
|
<title>Introduction</title>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2013-02-11 20:09:22 +00:00
|
|
|
<para>This chapter discusses configuration files and boot scripts.
|
|
|
|
First, the general configuration files needed to set up networking are
|
2011-08-02 03:15:42 +01:00
|
|
|
presented.</para>
|
2013-02-11 20:09:22 +00:00
|
|
|
|
2011-08-02 03:15:42 +01:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para><xref linkend="ch-scripts-network" role="."/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para><xref linkend="ch-scripts-hosts" role="."/></para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2013-02-11 20:09:22 +00:00
|
|
|
|
2013-03-13 17:08:23 +00:00
|
|
|
<para>Second, issues that affect the proper setup of devices are
|
|
|
|
discussed.</para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2011-08-02 03:15:42 +01:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para><xref linkend="ch-scripts-udev" role="."/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para><xref linkend="ch-scripts-symlinks" role="."/></para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<para>The next sections detail how to install and configure the LFS system
|
|
|
|
scripts needed during the boot process. Most of these scripts will work
|
|
|
|
without modification, but a few require additional configuration files
|
|
|
|
because they deal with hardware-dependent information.</para>
|
2013-02-11 20:09:22 +00:00
|
|
|
|
2005-12-18 18:31:04 +00:00
|
|
|
<para>System-V style init scripts are employed in this book because they are
|
2011-08-02 03:15:42 +01:00
|
|
|
widely used and relatively simple. For additional options, a hint detailing
|
|
|
|
the BSD style init setup is available at <ulink
|
|
|
|
url="&hints-root;bsd-init.txt"/>. Searching the LFS mailing lists for
|
|
|
|
<quote>depinit</quote>, <quote>upstart</quote>, or <quote>systemd</quote>
|
|
|
|
will also offer additional information.</para>
|
2013-02-11 20:09:22 +00:00
|
|
|
|
2011-08-02 03:15:42 +01:00
|
|
|
<para>If using an alternative style of init scripts, skip these sections.</para>
|
|
|
|
|
|
|
|
<para>A listing of the boot scripts are found in <xref linkend="scripts"
|
|
|
|
role="."/>.</para>
|
|
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para><xref linkend="ch-scripts-bootscripts" role="."/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para><xref linkend="ch-scripts-usage" role="."/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para><xref linkend="ch-scripts-hostname" role="."/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para><xref linkend="ch-scripts-setclock" role="."/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para><xref linkend="ch-scripts-console" role="."/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para><xref linkend="ch-scripts-sysklogd" role="."/></para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2013-02-11 20:09:22 +00:00
|
|
|
|
|
|
|
|
2011-08-02 03:15:42 +01:00
|
|
|
<para>Finally, there is a brief introduction to the scripts and configuration
|
|
|
|
files used when the user logs into the system.</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para><xref linkend="ch-scripts-profile" role="."/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para><xref linkend="ch-scripts-inputrc" role="."/></para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2005-12-18 18:31:04 +00:00
|
|
|
</sect1>
|