1
0

scripts.xml 6.2 KB

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