aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bootscripts.xml
blob: e26fefba2ad3e050bfb884478a9ece6f3ad24a58 (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
<sect1 id="ch06-lfs-bootscripts" xreflabel="Bootscripts">
<title>Installing LFS-Bootscripts-&bootscripts-version;</title>
<?dbhtml filename="bootscripts.html" dir="chapter06"?>

<para>The LFS-Bootscripts package contains a set of bootscripts.</para>

<screen>&buildtime; &bootscripts-time;
&diskspace; &bootscripts-compsize;</screen>

&aa-bootscripts-down;
&aa-bootscripts-dep;

<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

<sect2>
<title>Installation of LFS-Bootscripts</title>

<para>We will be using SysV style init scripts. We have chosen this style
because it is widely used and we feel comfortable with it. If you would prefer
to try something else, Marc Heerdink has written a hint about BSD style init
scripts, to be found at <ulink url="&hints-root;bsd-init.txt"/>. And if you'd
like something more radical, search the LFS mailing lists for depinit.</para>

<para>If you decide to use BSD style, or some other style scripts, you can
skip the next chapter when you arrive at it and move on to
<xref linkend="chapter08"/>.</para>

<para>Install the boot scripts:</para>

<screen><userinput>cp -a rc.d sysconfig /etc</userinput></screen>

<para>Give <emphasis>root</emphasis> ownership of the scripts:</para>

<screen><userinput>chown -R root:root /etc/rc.d /etc/sysconfig</userinput></screen>

</sect2>

&aa-bootscripts-shortdesc;
&aa-bootscripts-desc;

</sect1>