aboutsummaryrefslogtreecommitdiffstats
path: root/appendices/scripts.xml
blob: 30f63752b221c98298d9e52a179b1f8834042341 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../general.ent">
  <!ENTITY checkfs            SYSTEM "checkfs.script">
  <!ENTITY cleanfs            SYSTEM "cleanfs.script">
  <!ENTITY console            SYSTEM "console.script">
  <!ENTITY functions          SYSTEM "functions.script">
  <!ENTITY halt               SYSTEM "halt.script">
  <!ENTITY initfunctions      SYSTEM "init-functions.script">
  <!ENTITY localnet           SYSTEM "localnet.script">
  <!ENTITY modules            SYSTEM "modules.script">
  <!ENTITY mountfs            SYSTEM "mountfs.script">
  <!ENTITY mountvirtfs        SYSTEM "mountvirtfs.script">
  <!ENTITY network            SYSTEM "network.script">
  <!ENTITY rc                 SYSTEM "rc.script">
  <!ENTITY reboot             SYSTEM "reboot.script">
  <!ENTITY sendsignals        SYSTEM "sendsignals.script">
  <!ENTITY setclock           SYSTEM "setclock.script">
  <!ENTITY swap               SYSTEM "swap.script">
  <!ENTITY sysctl             SYSTEM "sysctl.script">
  <!ENTITY sysklogd           SYSTEM "sysklogd.script">
  <!ENTITY template           SYSTEM "template.script">
  <!ENTITY udev               SYSTEM "udev.script">
  <!ENTITY udev_retry         SYSTEM "udev_retry.script">
  <!ENTITY createfiles        SYSTEM "createfiles.script">
  <!ENTITY modules_sys        SYSTEM "modules-sysinit.script">
  <!ENTITY cfg_udev_retry     SYSTEM "config-udev-retry.script">
  <!ENTITY ifup               SYSTEM "ifup.script">
  <!ENTITY ifdown             SYSTEM "ifdown.script">
  <!ENTITY ipv4_static        SYSTEM "ipv4-static.script">
  <!ENTITY ipv4_static_route  SYSTEM "ipv4-static-route.script">
  %general-entities;
]>

<appendix id="scripts" xreflabel="Appendix D">
  <?dbhtml dir="scripts"?>
  <?dbhtml filename="scripts.html"?>

  <title>Boot and sysconfig scripts version-&lfs-bootscripts-version;</title>

  <para>The scripts in this appendix are listed by the directory where they
  normally reside.  The order is <filename
  class='directory'>/etc/rc.d/init.d</filename>, <filename
  class='directory'>/etc/sysconfig</filename>, <filename
  class='directory'>/etc/sysconfig/network-devices</filename>, and <filename
  class='directory'>/etc/sysconfig/network-devices/services</filename>.  Within
  each section, the files are listed in the order they are normally called.
  </para>

  <sect1 id="rc" role="wrap">
    <title>/etc/rc.d/init.d/rc</title>

    <para>The <systemitem>rc</systemitem> script is the first script called by
    <application>init</application> and initiates the boot process.</para>

    <screen>&rc;</screen>
  </sect1>

  <sect1 id="init-functions" role="wrap">
    <title>/lib/lsb/init-functions</title>
    <screen>&initfunctions;</screen>
  </sect1>

  <sect1 id="functions" role="wrap">
    <title>/etc/rc.d/init.d/functions</title>
    <screen>&functions;</screen>
  </sect1>

  <sect1 id="mountvirtfs" role="wrap">
    <title>/etc/rc.d/init.d/mountvirtfs</title>
    <screen>&mountvirtfs;</screen>
  </sect1>

  <sect1 id="modules" role="wrap">
    <title>/etc/rc.d/init.d/modules</title>
    <screen>&modules;</screen>
  </sect1>

  <sect1 id="udev" role="wrap">
    <title>/etc/rc.d/init.d/udev</title>
    <screen>&udev;</screen>
  </sect1>

  <sect1 id="swap" role="wrap">
    <title>/etc/rc.d/init.d/swap</title>
    <screen>&swap;</screen>
  </sect1>

  <sect1 id="setclock" role="wrap">
    <title>/etc/rc.d/init.d/setclock</title>
    <screen>&setclock;</screen>
  </sect1>

  <sect1 id="checkfs" role="wrap">
    <title>/etc/rc.d/init.d/checkfs</title>
    <screen>&checkfs;</screen>
  </sect1>

  <sect1 id="mountfs" role="wrap">
    <title>/etc/rc.d/init.d/mountfs</title>
    <screen>&mountfs;</screen>
  </sect1>

  <sect1 id="udev_retry" role="wrap">
    <title>/etc/rc.d/init.d/udev_retry</title>
    <screen>&udev_retry;</screen>
  </sect1>

  <sect1 id="cleanfs" role="wrap">
    <title>/etc/rc.d/init.d/cleanfs</title>
    <screen>&cleanfs;</screen>
  </sect1>

  <sect1 id="console" role="wrap">
    <title>/etc/rc.d/init.d/console</title>
    <screen>&console;</screen>
  </sect1>

  <sect1 id="localnet" role="wrap">
    <title>/etc/rc.d/init.d/localnet</title>
    <screen>&localnet;</screen>
  </sect1>

  <sect1 id="sysctlscript" role="wrap">
    <title>/etc/rc.d/init.d/sysctl</title>
    <screen>&sysctl;</screen>
  </sect1>

  <sect1 id="sysklogd" role="wrap">
    <title>/etc/rc.d/init.d/sysklogd</title>
    <screen>&sysklogd;</screen>
  </sect1>

  <sect1 id="network" role="wrap">
    <title>/etc/rc.d/init.d/network</title>
    <screen>&network;</screen>
  </sect1>

  <sect1 id="sendsignals" role="wrap">
    <title>/etc/rc.d/init.d/sendsignals</title>
    <screen>&sendsignals;</screen>
  </sect1>

  <sect1 id="rebootscript" role="wrap">
    <title>/etc/rc.d/init.d/reboot</title>
    <screen>&reboot;</screen>
  </sect1>

  <sect1 id="haltscript" role="wrap">
    <title>/etc/rc.d/init.d/halt</title>
    <screen>&halt;</screen>
  </sect1>

  <sect1 id="template" role="wrap">
    <title>/etc/rc.d/init.d/template</title>
    <screen>&template;</screen>
  </sect1>

  <sect1 id="modulessys" role="wrap">
    <title>/etc/sysconfig/modules</title>
    <screen>&modules_sys;</screen>
  </sect1>

  <sect1 id="createfiles" role="wrap">
    <title>/etc/sysconfig/createfiles</title>
    <screen>&createfiles;</screen>
  </sect1>

  <sect1 id="config-udev-retry" role="wrap">
    <title>/etc/sysconfig/udev-retry</title>
    <screen>&cfg_udev_retry;</screen>
  </sect1>

  <sect1 id="ifup" role="wrap">
    <title>/sbin/ifup</title>
    <screen>&ifup;</screen>
  </sect1>

  <sect1 id="ifdown" role="wrap">
    <title>/sbin/ifdown</title>
    <screen>&ifdown;</screen>
  </sect1>

  <sect1 id="ipv4static" role="wrap">
    <title>/lib/services/ipv4-static</title>
    <screen>&ipv4_static;</screen>
  </sect1>

  <sect1 id="ipv4route" role="wrap">
    <title>/lib/services/ipv4-static-route</title>
    <screen>&ipv4_static_route;</screen>
  </sect1>

</appendix>