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