7.1. Introduction

This chapter discusses configuration files and boot scripts. First, the general configuration files needed to set up networking are presented.

Second, issues that affect the proper setup of devices are discussed.

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.

Finally, there is a brief introduction to the scripts and configuration files used when the user logs into the system.