1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | <!ENTITY % patches-entities SYSTEM "../../patches.ent">
|
---|
6 | %general-entities;
|
---|
7 | %patches-entities;
|
---|
8 | ]>
|
---|
9 |
|
---|
10 | <sect1 id="ch-boot-sysvinit" role="wrap">
|
---|
11 | <?dbhtml filename="sysvinit.html"?>
|
---|
12 |
|
---|
13 | <title>Sysvinit-&sysvinit-version;</title>
|
---|
14 |
|
---|
15 | <indexterm zone="ch-boot-sysvinit">
|
---|
16 | <primary sortas="a-Sysvinit">Sysvinit</primary>
|
---|
17 | <secondary>boot</secondary>
|
---|
18 | </indexterm>
|
---|
19 |
|
---|
20 | <sect2 role="package">
|
---|
21 | <title/>
|
---|
22 |
|
---|
23 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
24 | href="../../final-system/common/sysvinit.xml"
|
---|
25 | xpointer="xpointer(//*[@role='package']/para[1])"/>
|
---|
26 |
|
---|
27 | <segmentedlist>
|
---|
28 | <segtitle>&buildtime;</segtitle>
|
---|
29 | <segtitle>&diskspace;</segtitle>
|
---|
30 |
|
---|
31 | <seglistitem>
|
---|
32 | <seg>Not checked yet</seg>
|
---|
33 | <seg>Not checked yet</seg>
|
---|
34 | </seglistitem>
|
---|
35 | </segmentedlist>
|
---|
36 |
|
---|
37 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
38 | href="../../final-system/common/sysvinit.xml"
|
---|
39 | xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
|
---|
40 |
|
---|
41 | </sect2>
|
---|
42 |
|
---|
43 | <sect2 role="installation">
|
---|
44 | <title>Installation of Sysvinit</title>
|
---|
45 |
|
---|
46 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
47 | href="../common/sysvinit.xml"
|
---|
48 | xpointer="xpointer(//*[@os='aa'])"/>
|
---|
49 |
|
---|
50 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
51 | href="../common/sysvinit.xml"
|
---|
52 | xpointer="xpointer(//*[@os='ab'])"/>
|
---|
53 |
|
---|
54 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
55 | href="../common/sysvinit.xml"
|
---|
56 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
57 |
|
---|
58 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
59 | href="../common/sysvinit.xml"
|
---|
60 | xpointer="xpointer(//*[@os='ac'])"/>
|
---|
61 |
|
---|
62 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
63 | href="../common/sysvinit.xml"
|
---|
64 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
65 |
|
---|
66 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
67 | href="../common/sysvinit.xml"
|
---|
68 | xpointer="xpointer(//*[@os='ad'])"/>
|
---|
69 |
|
---|
70 | </sect2>
|
---|
71 |
|
---|
72 | <sect2 id="conf-tools-sysvinit" role="configuration">
|
---|
73 | <title>Configuring Sysvinit</title>
|
---|
74 |
|
---|
75 | <indexterm zone="conf-tools-sysvinit">
|
---|
76 | <primary sortas="a-Sysvinit">Sysvinit</primary>
|
---|
77 | <secondary>boot, configuring</secondary>
|
---|
78 | </indexterm>
|
---|
79 |
|
---|
80 | <indexterm zone="conf-tools-sysvinit">
|
---|
81 | <primary sortas="e-${LFS}/etc/inittab">${LFS}/etc/inittab</primary>
|
---|
82 | </indexterm>
|
---|
83 |
|
---|
84 | <para>Create a new file <filename>${LFS}/etc/inittab</filename> by
|
---|
85 | running the following:</para>
|
---|
86 |
|
---|
87 | <screen><userinput>cat > ${LFS}/etc/inittab << "EOF"
|
---|
88 | <literal># Begin /etc/inittab
|
---|
89 |
|
---|
90 | id:3:initdefault:
|
---|
91 |
|
---|
92 | si::sysinit:/etc/rc.d/init.d/rc sysinit
|
---|
93 |
|
---|
94 | l0:0:wait:/etc/rc.d/init.d/rc 0
|
---|
95 | l1:S1:wait:/etc/rc.d/init.d/rc 1
|
---|
96 | l2:2:wait:/etc/rc.d/init.d/rc 2
|
---|
97 | l3:3:wait:/etc/rc.d/init.d/rc 3
|
---|
98 | l4:4:wait:/etc/rc.d/init.d/rc 4
|
---|
99 | l5:5:wait:/etc/rc.d/init.d/rc 5
|
---|
100 | l6:6:wait:/etc/rc.d/init.d/rc 6
|
---|
101 |
|
---|
102 | ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
|
---|
103 |
|
---|
104 | su:S016:once:/sbin/sulogin
|
---|
105 |
|
---|
106 | # Remove this section if you System only
|
---|
107 | # has a console port
|
---|
108 | 1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600
|
---|
109 | 2:2345:respawn:/sbin/agetty -I '\033(K' tty2 9600
|
---|
110 | 3:2345:respawn:/sbin/agetty -I '\033(K' tty3 9600
|
---|
111 | 4:2345:respawn:/sbin/agetty -I '\033(K' tty4 9600
|
---|
112 | 5:2345:respawn:/sbin/agetty -I '\033(K' tty5 9600
|
---|
113 | 6:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600
|
---|
114 |
|
---|
115 | # Uncomment this section if your system has a console
|
---|
116 | # port
|
---|
117 | #c0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100
|
---|
118 |
|
---|
119 | # End /etc/inittab</literal>
|
---|
120 | EOF</userinput></screen>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | <sect2 role="content">
|
---|
125 | <title/>
|
---|
126 |
|
---|
127 | <para>Details on this package are located in <xref
|
---|
128 | linkend="contents-sysvinit" role="."/></para>
|
---|
129 |
|
---|
130 | </sect2>
|
---|
131 |
|
---|
132 | </sect1>
|
---|