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