scripts.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE appendix 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. <!ENTITY checkfs SYSTEM "checkfs.script">
  6. <!ENTITY cleanfs SYSTEM "cleanfs.script">
  7. <!ENTITY console SYSTEM "console.script">
  8. <!ENTITY functions SYSTEM "functions.script">
  9. <!ENTITY consolelog SYSTEM "consolelog.script">
  10. <!ENTITY halt SYSTEM "halt.script">
  11. <!ENTITY localnet SYSTEM "localnet.script">
  12. <!ENTITY modules SYSTEM "modules.script">
  13. <!ENTITY mountfs SYSTEM "mountfs.script">
  14. <!ENTITY mountkernfs SYSTEM "mountkernfs.script">
  15. <!ENTITY network SYSTEM "network.script">
  16. <!ENTITY reboot SYSTEM "reboot.script">
  17. <!ENTITY rc SYSTEM "rc.script">
  18. <!ENTITY sendsignals SYSTEM "sendsignals.script">
  19. <!ENTITY setclock SYSTEM "setclock.script">
  20. <!ENTITY swap SYSTEM "swap.script">
  21. <!ENTITY sysctl SYSTEM "sysctl.script">
  22. <!ENTITY sysklogd SYSTEM "sysklogd.script">
  23. <!ENTITY template SYSTEM "template.script">
  24. <!ENTITY udev SYSTEM "udev.script">
  25. <!ENTITY udev_retry SYSTEM "udev_retry.script">
  26. <!ENTITY createfiles SYSTEM "createfiles.script">
  27. <!ENTITY modules_sys SYSTEM "modules-sysinit.script">
  28. <!ENTITY rc_sys SYSTEM "rc-sysinit.script">
  29. <!ENTITY ifup SYSTEM "ifup.script">
  30. <!ENTITY ifdown SYSTEM "ifdown.script">
  31. <!ENTITY ipv4_static SYSTEM "ipv4-static.script">
  32. <!ENTITY ipv4_static_route SYSTEM "ipv4-static-route.script">
  33. %general-entities;
  34. ]>
  35. <appendix id="scripts" xreflabel="Appendix D">
  36. <?dbhtml dir="scripts"?>
  37. <?dbhtml filename="scripts.html"?>
  38. <title>Boot and sysconfig scripts version-&lfs-bootscripts-version;</title>
  39. <para>The scripts in this appendix are listed by the directory where they
  40. normally reside. The order is <filename
  41. class='directory'>/etc/rc.d/init.d</filename>, <filename
  42. class='directory'>/etc/sysconfig</filename>, <filename
  43. class='directory'>/etc/sysconfig/network-devices</filename>, and <filename
  44. class='directory'>/etc/sysconfig/network-devices/services</filename>. Within
  45. each section, the files are listed in the order they are normally called.
  46. </para>
  47. <sect1 id="rc" role="wrap">
  48. <title>/etc/rc.d/init.d/rc</title>
  49. <para>The <systemitem>rc</systemitem> script is the first script called by
  50. <application>init</application> and initiates the boot process.</para>
  51. <screen>&rc;</screen>
  52. </sect1>
  53. <sect1 id="functions" role="wrap">
  54. <title>/etc/rc.d/init.d/functions</title>
  55. <screen>&functions;</screen>
  56. </sect1>
  57. <sect1 id="mountkernfs" role="wrap">
  58. <title>/etc/rc.d/init.d/mountkernfs</title>
  59. <screen>&mountkernfs;</screen>
  60. </sect1>
  61. <sect1 id="consolelog" role="wrap">
  62. <title>/etc/rc.d/init.d/consolelog</title>
  63. <screen>&consolelog;</screen>
  64. </sect1>
  65. <sect1 id="modules" role="wrap">
  66. <title>/etc/rc.d/init.d/modules</title>
  67. <screen>&modules;</screen>
  68. </sect1>
  69. <sect1 id="udev" role="wrap">
  70. <title>/etc/rc.d/init.d/udev</title>
  71. <screen>&udev;</screen>
  72. </sect1>
  73. <sect1 id="swap" role="wrap">
  74. <title>/etc/rc.d/init.d/swap</title>
  75. <screen>&swap;</screen>
  76. </sect1>
  77. <sect1 id="setclock" role="wrap">
  78. <title>/etc/rc.d/init.d/setclock</title>
  79. <screen>&setclock;</screen>
  80. </sect1>
  81. <sect1 id="checkfs" role="wrap">
  82. <title>/etc/rc.d/init.d/checkfs</title>
  83. <screen>&checkfs;</screen>
  84. </sect1>
  85. <sect1 id="mountfs" role="wrap">
  86. <title>/etc/rc.d/init.d/mountfs</title>
  87. <screen>&mountfs;</screen>
  88. </sect1>
  89. <sect1 id="udev_retry" role="wrap">
  90. <title>/etc/rc.d/init.d/udev_retry</title>
  91. <screen>&udev_retry;</screen>
  92. </sect1>
  93. <sect1 id="cleanfs" role="wrap">
  94. <title>/etc/rc.d/init.d/cleanfs</title>
  95. <screen>&cleanfs;</screen>
  96. </sect1>
  97. <sect1 id="console" role="wrap">
  98. <title>/etc/rc.d/init.d/console</title>
  99. <screen>&console;</screen>
  100. </sect1>
  101. <sect1 id="localnet" role="wrap">
  102. <title>/etc/rc.d/init.d/localnet</title>
  103. <screen>&localnet;</screen>
  104. </sect1>
  105. <sect1 id="sysctlscript" role="wrap">
  106. <title>/etc/rc.d/init.d/sysctl</title>
  107. <screen>&sysctl;</screen>
  108. </sect1>
  109. <sect1 id="sysklogd" role="wrap">
  110. <title>/etc/rc.d/init.d/sysklogd</title>
  111. <screen>&sysklogd;</screen>
  112. </sect1>
  113. <sect1 id="network" role="wrap">
  114. <title>/etc/rc.d/init.d/network</title>
  115. <screen>&network;</screen>
  116. </sect1>
  117. <sect1 id="sendsignals" role="wrap">
  118. <title>/etc/rc.d/init.d/sendsignals</title>
  119. <screen>&sendsignals;</screen>
  120. </sect1>
  121. <sect1 id="rebootscript" role="wrap">
  122. <title>/etc/rc.d/init.d/reboot</title>
  123. <screen>&reboot;</screen>
  124. </sect1>
  125. <sect1 id="haltscript" role="wrap">
  126. <title>/etc/rc.d/init.d/halt</title>
  127. <screen>&halt;</screen>
  128. </sect1>
  129. <sect1 id="template" role="wrap">
  130. <title>/etc/rc.d/init.d/template</title>
  131. <screen>&template;</screen>
  132. </sect1>
  133. <sect1 id="rcsys" role="wrap">
  134. <title>/etc/sysconfig/rc</title>
  135. <screen>&rc_sys;</screen>
  136. </sect1>
  137. <sect1 id="modulessys" role="wrap">
  138. <title>/etc/sysconfig/modules</title>
  139. <screen>&modules_sys;</screen>
  140. </sect1>
  141. <sect1 id="createfiles" role="wrap">
  142. <title>/etc/sysconfig/createfiles</title>
  143. <screen>&createfiles;</screen>
  144. </sect1>
  145. <sect1 id="ifup" role="wrap">
  146. <title>/etc/sysconfig/network-devices/ifup</title>
  147. <screen>&ifup;</screen>
  148. </sect1>
  149. <sect1 id="ifdown" role="wrap">
  150. <title>/etc/sysconfig/network-devices/ifdown</title>
  151. <screen>&ifdown;</screen>
  152. </sect1>
  153. <sect1 id="ipv4static" role="wrap">
  154. <title>/etc/sysconfig/network-devices/services/ipv4-static</title>
  155. <screen>&ipv4_static;</screen>
  156. </sect1>
  157. <sect1 id="ipv4route" role="wrap">
  158. <title>/etc/sysconfig/network-devices/services/ipv4-static-route</title>
  159. <screen>&ipv4_static_route;</screen>
  160. </sect1>
  161. </appendix>