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