Changeset 1da2a84 for BOOK/boot/common/sysvinit.xml
- Timestamp:
- Sep 14, 2008, 11:30:14 AM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- e8e6c4e
- Parents:
- 9d32016
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/sysvinit.xml
r9d32016 r1da2a84 60 60 </indexterm> 61 61 62 <para os="ae">Create a new file <filename>${CLFS}/etc/inittab</filename> by63 running thefollowing:</para>62 <para>Create a new file <filename>/etc/inittab</filename> by running the 63 following:</para> 64 64 65 <screen os="af"><userinput>cat > ${CLFS}/etc/inittab << "EOF"65 <screen><userinput>cat > /etc/inittab << "EOF" 66 66 <literal># Begin /etc/inittab 67 67 … … 81 81 82 82 su:S016:once:/sbin/sulogin 83 </literal> 84 EOF</userinput></screen> 83 85 84 1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600 86 <para>The following command adds the standard virtual terminals to 87 <filename>/etc/inittab</filename>. If your system only has a serial 88 console skip the following command:</para> 89 90 <screen><userinput>cat >> /etc/inittab << "EOF" 91 <literal>1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600 85 92 2:2345:respawn:/sbin/agetty -I '\033(K' tty2 9600 86 93 3:2345:respawn:/sbin/agetty -I '\033(K' tty3 9600 … … 88 95 5:2345:respawn:/sbin/agetty -I '\033(K' tty5 9600 89 96 6:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600 97 </literal> 98 EOF</userinput></screen> 90 99 91 # End /etc/inittab</literal> 100 <para>If your system has a serial console run the following command to add 101 the entry to <filename>/etc/inittab</filename>.</para> 102 103 <screen><userinput>cat >> /etc/inittab << "EOF" 104 <literal>c0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100 105 </literal> 106 EOF</userinput></screen> 107 108 <para>Finally, Add the end line to <filename>/etc/inittab</filename>.</para> 109 110 <screen><userinput>cat >> /etc/inittab << "EOF" 111 <literal># End /etc/inittab</literal> 92 112 EOF</userinput></screen> 93 113
Note: See TracChangeset
for help on using the changeset viewer.