source: final-system/mips/sysvinit.xml@ 0aa6744

Last change on this file since 0aa6744 was 2659c74, checked in by Jim Gifford <clfs@…>, 19 years ago

r677@server (orig r675): manuel | 2005-11-10 03:13:57 -0800
Including patches.ent from general.ent

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