source: boot/sparc/sysvinit.xml@ a67c762

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

r653@server (orig r651): manuel | 2005-11-08 11:36:13 -0800
Preparations to remove SBUs and DUs. Chapter boot.

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