source: BOOK/boot/sparc/sysvinit.xml@ 3b7bb78

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 3b7bb78 was 3f8be484, 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.7 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 <sect2 role="package">
21 <title/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../../final-system/common/sysvinit.xml"
25 xpointer="xpointer(//*[@role='package']/para[1])"/>
26
27 <segmentedlist>
28 <segtitle>&buildtime;</segtitle>
29 <segtitle>&diskspace;</segtitle>
30
31 <seglistitem>
32 <seg>Not checked yet</seg>
33 <seg>Not checked yet</seg>
34 </seglistitem>
35 </segmentedlist>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../final-system/common/sysvinit.xml"
39 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Sysvinit</title>
45
46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="../common/sysvinit.xml"
48 xpointer="xpointer(//*[@os='aa'])"/>
49
50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
51 href="../common/sysvinit.xml"
52 xpointer="xpointer(//*[@os='ab'])"/>
53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="../common/sysvinit.xml"
56 xpointer="xpointer(//*[@os='c'])"/>
57
58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
59 href="../common/sysvinit.xml"
60 xpointer="xpointer(//*[@os='ac'])"/>
61
62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
63 href="../common/sysvinit.xml"
64 xpointer="xpointer(//*[@os='e'])"/>
65
66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
67 href="../common/sysvinit.xml"
68 xpointer="xpointer(//*[@os='ad'])"/>
69
70 </sect2>
71
72 <sect2 id="conf-tools-sysvinit" role="configuration">
73 <title>Configuring Sysvinit</title>
74
75 <indexterm zone="conf-tools-sysvinit">
76 <primary sortas="a-Sysvinit">Sysvinit</primary>
77 <secondary>boot, configuring</secondary>
78 </indexterm>
79
80 <indexterm zone="conf-tools-sysvinit">
81 <primary sortas="e-${LFS}/etc/inittab">${LFS}/etc/inittab</primary>
82 </indexterm>
83
84 <para>Create a new file <filename>${LFS}/etc/inittab</filename> by
85 running the following:</para>
86
87<screen><userinput>cat &gt; ${LFS}/etc/inittab &lt;&lt; "EOF"
88<literal># Begin /etc/inittab
89
90id:3:initdefault:
91
92si::sysinit:/etc/rc.d/init.d/rc sysinit
93
94l0:0:wait:/etc/rc.d/init.d/rc 0
95l1:S1:wait:/etc/rc.d/init.d/rc 1
96l2:2:wait:/etc/rc.d/init.d/rc 2
97l3:3:wait:/etc/rc.d/init.d/rc 3
98l4:4:wait:/etc/rc.d/init.d/rc 4
99l5:5:wait:/etc/rc.d/init.d/rc 5
100l6:6:wait:/etc/rc.d/init.d/rc 6
101
102ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
103
104su:S016:once:/sbin/sulogin
105
106# Remove this section if you System only
107# has a console port
1081:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600
1092:2345:respawn:/sbin/agetty -I '\033(K' tty2 9600
1103:2345:respawn:/sbin/agetty -I '\033(K' tty3 9600
1114:2345:respawn:/sbin/agetty -I '\033(K' tty4 9600
1125:2345:respawn:/sbin/agetty -I '\033(K' tty5 9600
1136:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600
114
115# Uncomment this section if your system has a console
116# port
117#c0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
118
119# End /etc/inittab</literal>
120EOF</userinput></screen>
121
122 </sect2>
123
124 <sect2 role="content">
125 <title/>
126
127 <para>Details on this package are located in <xref
128 linkend="contents-sysvinit" role="."/></para>
129
130 </sect2>
131
132</sect1>
Note: See TracBrowser for help on using the repository browser.