Changeset ac76cbb in clfs-sysroot


Ignore:
Timestamp:
Jan 4, 2009, 3:26:10 PM (16 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
38f2dda
Parents:
63c1d49
Message:

Port the inittab from trunk to the sysroot branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/sysvinit.xml

    r63c1d49 rac76cbb  
    9292
    9393su:S016:once:/sbin/sulogin
    94 
    95 1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600
     94</literal>
     95EOF</userinput></screen>
     96
     97    <para>The following command adds the standard virtual terminals to
     98    <filename>/etc/inittab</filename>. If your system only has a serial
     99    console skip the following command:</para>
     100
     101<screen><userinput>cat &gt;&gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
     102<literal>1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600
    961032:2345:respawn:/sbin/agetty -I '\033(K' tty2 9600
    971043:2345:respawn:/sbin/agetty -I '\033(K' tty3 9600
     
    991065:2345:respawn:/sbin/agetty -I '\033(K' tty5 9600
    1001076:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600
    101 
    102 # End /etc/inittab</literal>
     108</literal>
     109EOF</userinput></screen>
     110
     111    <para>If your system has a serial console run the following command to add
     112    the entry to <filename>/etc/inittab</filename>.</para>
     113
     114<screen><userinput>cat &gt;&gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
     115<literal>c0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100
     116</literal>
     117EOF</userinput></screen>
     118
     119   <para>Finally, Add the end line to <filename>/etc/inittab</filename>.</para>
     120
     121<screen><userinput>cat &gt;&gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
     122<literal># End /etc/inittab</literal>
    103123EOF</userinput></screen>
    104124
Note: See TracChangeset for help on using the changeset viewer.