source: final-system/mips/sysvinit.xml@ be205bc2

Last change on this file since be205bc2 was bf8c11f, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 3.6 KB
RevLine 
[bf8c11f]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 &gt; /etc/inittab &lt;&lt; "EOF"
87<literal># Begin /etc/inittab
88
89id:3:initdefault:
90
91si::sysinit:/etc/rc.d/init.d/rc sysinit
92
93l0:0:wait:/etc/rc.d/init.d/rc 0
94l1:S1:wait:/etc/rc.d/init.d/rc 1
95l2:2:wait:/etc/rc.d/init.d/rc 2
96l3:3:wait:/etc/rc.d/init.d/rc 3
97l4:4:wait:/etc/rc.d/init.d/rc 4
98l5:5:wait:/etc/rc.d/init.d/rc 5
99l6:6:wait:/etc/rc.d/init.d/rc 6
100
101ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
102
103su:S016:once:/sbin/sulogin
104
105# Remove this section if you System only
106# has a console port
1071:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600
1082:2345:respawn:/sbin/agetty -I '\033(K' tty2 9600
1093:2345:respawn:/sbin/agetty -I '\033(K' tty3 9600
1104:2345:respawn:/sbin/agetty -I '\033(K' tty4 9600
1115:2345:respawn:/sbin/agetty -I '\033(K' tty5 9600
1126: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>
119EOF</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>
Note: See TracBrowser for help on using the repository browser.