[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-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 |
|
---|
[c4b671e] | 20 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 21 | href="../../final-system/common/sysvinit.xml"
|
---|
| 22 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[bf8c11f] | 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 > ${LFS}/etc/inittab << "EOF"
|
---|
| 69 | <literal># Begin /etc/inittab
|
---|
| 70 |
|
---|
| 71 | id:3:initdefault:
|
---|
| 72 |
|
---|
| 73 | si::sysinit:/etc/rc.d/init.d/rc sysinit
|
---|
| 74 |
|
---|
| 75 | l0:0:wait:/etc/rc.d/init.d/rc 0
|
---|
| 76 | l1:S1:wait:/etc/rc.d/init.d/rc 1
|
---|
| 77 | l2:2:wait:/etc/rc.d/init.d/rc 2
|
---|
| 78 | l3:3:wait:/etc/rc.d/init.d/rc 3
|
---|
| 79 | l4:4:wait:/etc/rc.d/init.d/rc 4
|
---|
| 80 | l5:5:wait:/etc/rc.d/init.d/rc 5
|
---|
| 81 | l6:6:wait:/etc/rc.d/init.d/rc 6
|
---|
| 82 |
|
---|
| 83 | ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
|
---|
| 84 |
|
---|
| 85 | su:S016:once:/sbin/sulogin
|
---|
| 86 |
|
---|
| 87 | # Remove this section if you System only
|
---|
| 88 | # has a console port
|
---|
| 89 | 1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600
|
---|
| 90 | 2:2345:respawn:/sbin/agetty -I '\033(K' tty2 9600
|
---|
| 91 | 3:2345:respawn:/sbin/agetty -I '\033(K' tty3 9600
|
---|
| 92 | 4:2345:respawn:/sbin/agetty -I '\033(K' tty4 9600
|
---|
| 93 | 5:2345:respawn:/sbin/agetty -I '\033(K' tty5 9600
|
---|
| 94 | 6: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 115200 ttyS0 vt100
|
---|
| 99 |
|
---|
| 100 | # End /etc/inittab</literal>
|
---|
| 101 | EOF</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>
|
---|