file: secure the URL, add libseccomp as external dep, and move libmagic.so to /lib
[linux_from_scratch.git] / BOOK / appendices / scripts.xml
blob69d653bdc1426df3d0a28aec50eb5a0efdad9983
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 halt               SYSTEM "halt.script">
9   <!ENTITY initfunctions      SYSTEM "init-functions.script">
10   <!ENTITY localnet           SYSTEM "localnet.script">
11   <!ENTITY modules            SYSTEM "modules.script">
12   <!ENTITY mountfs            SYSTEM "mountfs.script">
13   <!ENTITY mountvirtfs        SYSTEM "mountvirtfs.script">
14   <!ENTITY network            SYSTEM "network.script">
15   <!ENTITY rc                 SYSTEM "rc.script">
16   <!ENTITY reboot             SYSTEM "reboot.script">
17   <!ENTITY sendsignals        SYSTEM "sendsignals.script">
18   <!ENTITY setclock           SYSTEM "setclock.script">
19   <!ENTITY swap               SYSTEM "swap.script">
20   <!ENTITY sysctl             SYSTEM "sysctl.script">
21   <!ENTITY sysklogd           SYSTEM "sysklogd.script">
22   <!ENTITY template           SYSTEM "template.script">
23   <!ENTITY udev               SYSTEM "udev.script">
24   <!ENTITY udev_retry         SYSTEM "udev_retry.script">
25   <!ENTITY createfiles        SYSTEM "createfiles.script">
26   <!ENTITY modules_sys        SYSTEM "modules-sysinit.script">
27   <!ENTITY cfg_udev_retry     SYSTEM "config-udev-retry.script">
28   <!ENTITY ifup               SYSTEM "ifup.script">
29   <!ENTITY ifdown             SYSTEM "ifdown.script">
30   <!ENTITY ipv4_static        SYSTEM "ipv4-static.script">
31   <!ENTITY ipv4_static_route  SYSTEM "ipv4-static-route.script">
32   %general-entities;
35 <appendix id="scripts" xreflabel="Appendix D" revision="sysv">
36   <?dbhtml dir="scripts"?>
37   <?dbhtml filename="scripts.html"?>
39   <title>Boot and sysconfig scripts version-&lfs-bootscripts-version;</title>
41   <para>The scripts in this appendix are listed by the directory where they
42   normally reside.  The order is <filename
43   class='directory'>/etc/rc.d/init.d</filename>, <filename
44   class='directory'>/etc/sysconfig</filename>, <filename
45   class='directory'>/etc/sysconfig/network-devices</filename>, and <filename
46   class='directory'>/etc/sysconfig/network-devices/services</filename>.  Within
47   each section, the files are listed in the order they are normally called.
48   </para>
50   <sect1 id="rc" role="wrap">
51     <title>/etc/rc.d/init.d/rc</title>
53     <para>The <systemitem>rc</systemitem> script is the first script called by
54     <application>init</application> and initiates the boot process.</para>
56     <screen>&rc;</screen>
57   </sect1>
59   <sect1 id="init-functions" role="wrap">
60     <title>/lib/lsb/init-functions</title>
61     <screen>&initfunctions;</screen>
62   </sect1>
64   <sect1 id="mountvirtfs" role="wrap">
65     <title>/etc/rc.d/init.d/mountvirtfs</title>
66     <screen>&mountvirtfs;</screen>
67   </sect1>
69   <sect1 id="modules" role="wrap">
70     <title>/etc/rc.d/init.d/modules</title>
71     <screen>&modules;</screen>
72   </sect1>
74   <sect1 id="udev" role="wrap">
75     <title>/etc/rc.d/init.d/udev</title>
76     <screen>&udev;</screen>
77   </sect1>
79   <sect1 id="swap" role="wrap">
80     <title>/etc/rc.d/init.d/swap</title>
81     <screen>&swap;</screen>
82   </sect1>
84   <sect1 id="setclock" role="wrap">
85     <title>/etc/rc.d/init.d/setclock</title>
86     <screen>&setclock;</screen>
87   </sect1>
89   <sect1 id="checkfs" role="wrap">
90     <title>/etc/rc.d/init.d/checkfs</title>
91     <screen>&checkfs;</screen>
92   </sect1>
94   <sect1 id="mountfs" role="wrap">
95     <title>/etc/rc.d/init.d/mountfs</title>
96     <screen>&mountfs;</screen>
97   </sect1>
99   <sect1 id="udev_retry" role="wrap">
100     <title>/etc/rc.d/init.d/udev_retry</title>
101     <screen>&udev_retry;</screen>
102   </sect1>
104   <sect1 id="cleanfs" role="wrap">
105     <title>/etc/rc.d/init.d/cleanfs</title>
106     <screen>&cleanfs;</screen>
107   </sect1>
109   <sect1 id="console" role="wrap">
110     <title>/etc/rc.d/init.d/console</title>
111     <screen>&console;</screen>
112   </sect1>
114   <sect1 id="localnet" role="wrap">
115     <title>/etc/rc.d/init.d/localnet</title>
116     <screen>&localnet;</screen>
117   </sect1>
119   <sect1 id="sysctlscript" role="wrap">
120     <title>/etc/rc.d/init.d/sysctl</title>
121     <screen>&sysctl;</screen>
122   </sect1>
124   <sect1 id="sysklogd" role="wrap">
125     <title>/etc/rc.d/init.d/sysklogd</title>
126     <screen>&sysklogd;</screen>
127   </sect1>
129   <sect1 id="network" role="wrap">
130     <title>/etc/rc.d/init.d/network</title>
131     <screen>&network;</screen>
132   </sect1>
134   <sect1 id="sendsignals" role="wrap">
135     <title>/etc/rc.d/init.d/sendsignals</title>
136     <screen>&sendsignals;</screen>
137   </sect1>
139   <sect1 id="rebootscript" role="wrap">
140     <title>/etc/rc.d/init.d/reboot</title>
141     <screen>&reboot;</screen>
142   </sect1>
144   <sect1 id="haltscript" role="wrap">
145     <title>/etc/rc.d/init.d/halt</title>
146     <screen>&halt;</screen>
147   </sect1>
149   <sect1 id="template" role="wrap">
150     <title>/etc/rc.d/init.d/template</title>
151     <screen>&template;</screen>
152   </sect1>
154   <sect1 id="modulessys" role="wrap">
155     <title>/etc/sysconfig/modules</title>
156     <screen>&modules_sys;</screen>
157   </sect1>
159   <sect1 id="createfiles" role="wrap">
160     <title>/etc/sysconfig/createfiles</title>
161     <screen>&createfiles;</screen>
162   </sect1>
164   <sect1 id="config-udev-retry" role="wrap">
165     <title>/etc/sysconfig/udev-retry</title>
166     <screen>&cfg_udev_retry;</screen>
167   </sect1>
169   <sect1 id="ifup" role="wrap">
170     <title>/sbin/ifup</title>
171     <screen>&ifup;</screen>
172   </sect1>
174   <sect1 id="ifdown" role="wrap">
175     <title>/sbin/ifdown</title>
176     <screen>&ifdown;</screen>
177   </sect1>
179   <sect1 id="ipv4static" role="wrap">
180     <title>/lib/services/ipv4-static</title>
181     <screen>&ipv4_static;</screen>
182   </sect1>
184   <sect1 id="ipv4route" role="wrap">
185     <title>/lib/services/ipv4-static-route</title>
186     <screen>&ipv4_static_route;</screen>
187   </sect1>
189 </appendix>