MTD 248-645A Bedienungsanleitung Seite 216

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 347
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 215
Linux From Scratch - Version 7.0
196
Chapter 7. Setting Up System Bootscripts
7.1. Introduction
This chapter discusses configuration files and boot scripts. First, the general configuration files needed to set up
networking are presented.
Section 7.2, “General Network Configuration.”
Section 7.3, “Customizing the /etc/hosts File.”
Second, issues that affect the proper setup of devices diescussed.
Section 7.4, “Device and Module Handling on an LFS System.”
Section 7.5, “Creating Custom Symlinks to Devices.”
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.
System-V style init scripts are employed in this book because they are widely used and relatively simple. For
additional options, a hint detailing the BSD style init setup is available at http://www.linuxfromscratch.org/hints/
downloads/files/bsd-init.txt. Searching the LFS mailing lists for “depinit”, “upstart”, or “systemd” will also offer
additional information.
If using an alternative style of init scripts, skip these sections.
A listing of the boot scripts are found in Appendix D.
Section 7.6, “LFS-Bootscripts-20111017.”
Section 7.7, “How Do These Bootscripts Work?.”
Section 7.8, “Configuring the system hostname.”
Section 7.9, “Configuring the setclock Script.”
Section 7.10, “Configuring the Linux Console.”
Section 7.11, “Configuring the sysklogd Script.”
Finally, there is a brief introduction to the scripts and configuration files used when the user logs into the system.
Section 7.13, “The Bash Shell Startup Files.”
Section 7.14, “Creating the /etc/inputrc File.”
7.2. General Network Configuration
This section only applies if a network card is to be configured.
If a network card will not be used, there is likely no need to create any configuration files relating to network cards.
If that is the case, remove the network symlinks from all run-level directories (/etc/rc.d/rc*.d).
7.2.1. Creating stable names for network interfaces
If there is only one network interface in the system to be configured, this section is optional, although it will never be
wrong to do it. In many cases (e.g. a laptop with a wireless and a wired interface), accomplishing the configuration
in this section is necessary.
Seitenansicht 215
1 2 ... 211 212 213 214 215 216 217 218 219 220 221 ... 346 347

Kommentare zu diesen Handbüchern

Keine Kommentare