introduction.xml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. <sect1 id="ch-scripts-introduction">
  8. <?dbhtml filename="introduction.html"?>
  9. <title>Introduction</title>
  10. <para>This chapter discusses configuration files and boot scripts.
  11. First, the general configuration files needed to set up networking are
  12. presented.</para>
  13. <itemizedlist>
  14. <listitem>
  15. <para><xref linkend="ch-scripts-network" role="."/></para>
  16. </listitem>
  17. <listitem>
  18. <para><xref linkend="ch-scripts-hosts" role="."/></para>
  19. </listitem>
  20. </itemizedlist>
  21. <para>Second, issues that affect the proper setup of devices are
  22. discussed.</para>
  23. <itemizedlist>
  24. <listitem>
  25. <para><xref linkend="ch-scripts-udev" role="."/></para>
  26. </listitem>
  27. <listitem>
  28. <para><xref linkend="ch-scripts-symlinks" role="."/></para>
  29. </listitem>
  30. </itemizedlist>
  31. <para>The next sections detail how to install and configure the LFS system
  32. scripts needed during the boot process. Most of these scripts will work
  33. without modification, but a few require additional configuration files
  34. because they deal with hardware-dependent information.</para>
  35. <para>System-V style init scripts are employed in this book because they are
  36. widely used and relatively simple. For additional options, a hint detailing
  37. the BSD style init setup is available at <ulink
  38. url="&hints-root;bsd-init.txt"/>. Searching the LFS mailing lists for
  39. <quote>depinit</quote>, <quote>upstart</quote>, or <quote>systemd</quote>
  40. will also offer additional information.</para>
  41. <para>If using an alternative style of init scripts, skip these sections.</para>
  42. <para>A listing of the boot scripts are found in <xref linkend="scripts"
  43. role="."/>.</para>
  44. <itemizedlist>
  45. <listitem>
  46. <para><xref linkend="ch-scripts-bootscripts" role="."/></para>
  47. </listitem>
  48. <listitem>
  49. <para><xref linkend="ch-scripts-usage" role="."/></para>
  50. </listitem>
  51. <listitem>
  52. <para><xref linkend="ch-scripts-hostname" role="."/></para>
  53. </listitem>
  54. <listitem>
  55. <para><xref linkend="ch-scripts-setclock" role="."/></para>
  56. </listitem>
  57. <listitem>
  58. <para><xref linkend="ch-scripts-console" role="."/></para>
  59. </listitem>
  60. <listitem>
  61. <para><xref linkend="ch-scripts-sysklogd" role="."/></para>
  62. </listitem>
  63. </itemizedlist>
  64. <para>Finally, there is a brief introduction to the scripts and configuration
  65. files used when the user logs into the system.</para>
  66. <itemizedlist>
  67. <listitem>
  68. <para><xref linkend="ch-scripts-profile" role="."/></para>
  69. </listitem>
  70. <listitem>
  71. <para><xref linkend="ch-scripts-inputrc" role="."/></para>
  72. </listitem>
  73. </itemizedlist>
  74. </sect1>