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

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

r663@server (orig r661): manuel | 2005-11-08 14:00:33 -0800
Removing SBUs and DUs. Chapter final-system, round 1.

  • Property mode set to 100644
File size: 3.1 KB
Line 
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 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
20 href="../common/sysvinit.xml"
21 xpointer="xpointer(//*[@role='package'])"/>
22
23 <sect2 role="installation">
24 <title>Installation of Sysvinit</title>
25
26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
27 href="../common/sysvinit.xml"
28 xpointer="xpointer(//*[@os='a'])"/>
29
30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
31 href="../common/sysvinit.xml"
32 xpointer="xpointer(//*[@os='b'])"/>
33
34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35 href="../common/sysvinit.xml"
36 xpointer="xpointer(//*[@os='c'])"/>
37
38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39 href="../common/sysvinit.xml"
40 xpointer="xpointer(//*[@os='d'])"/>
41
42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43 href="../common/sysvinit.xml"
44 xpointer="xpointer(//*[@os='e'])"/>
45
46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="../common/sysvinit.xml"
48 xpointer="xpointer(//*[@os='f'])"/>
49
50 </sect2>
51
52 <sect2 id="conf-sysvinit" role="configuration">
53 <title>Configuring Sysvinit</title>
54
55 <indexterm zone="conf-sysvinit">
56 <primary sortas="a-Sysvinit">Sysvinit</primary>
57 <secondary>configuring</secondary>
58 </indexterm>
59
60 <indexterm zone="conf-sysvinit">
61 <primary sortas="e-/etc/inittab">/etc/inittab</primary>
62 </indexterm>
63
64 <para>Create a new file <filename>/etc/inittab</filename> by running
65 the following:</para>
66
67<screen><userinput>cat &gt; /etc/inittab &lt;&lt; "EOF"
68<literal># Begin /etc/inittab
69
70id:3:initdefault:
71
72si::sysinit:/etc/rc.d/init.d/rc sysinit
73
74l0:0:wait:/etc/rc.d/init.d/rc 0
75l1:S1:wait:/etc/rc.d/init.d/rc 1
76l2:2:wait:/etc/rc.d/init.d/rc 2
77l3:3:wait:/etc/rc.d/init.d/rc 3
78l4:4:wait:/etc/rc.d/init.d/rc 4
79l5:5:wait:/etc/rc.d/init.d/rc 5
80l6:6:wait:/etc/rc.d/init.d/rc 6
81
82ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
83
84su:S016:once:/sbin/sulogin
85
86# Remove this section if you System only
87# has a console port
881:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600
892:2345:respawn:/sbin/agetty -I '\033(K' tty2 9600
903:2345:respawn:/sbin/agetty -I '\033(K' tty3 9600
914:2345:respawn:/sbin/agetty -I '\033(K' tty4 9600
925:2345:respawn:/sbin/agetty -I '\033(K' tty5 9600
936:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600
94
95# Uncomment this section if your system has a console
96# port
97#c0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100
98
99# End /etc/inittab</literal>
100EOF</userinput></screen>
101
102 </sect2>
103
104 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
105 href="../common/sysvinit.xml"
106 xpointer="xpointer(id('contents-sysvinit'))"/>
107
108</sect1>
Note: See TracBrowser for help on using the repository browser.