Changeset 4605ed4
- Timestamp:
- Nov 24, 2008, 10:56:52 PM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 0a6d5b0
- Parents:
- af3ef6b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/sysvinit.xml
raf3ef6b r4605ed4 60 60 </indexterm> 61 61 62 <para>Create a new file <filename> /etc/inittab</filename> by running the62 <para>Create a new file <filename>${CLFS}/etc/inittab</filename> by running the 63 63 following:</para> 64 64 65 <screen><userinput>cat > /etc/inittab << "EOF"65 <screen><userinput>cat > ${CLFS}/etc/inittab << "EOF" 66 66 <literal># Begin /etc/inittab 67 67 … … 85 85 86 86 <para>The following command adds the standard virtual terminals to 87 <filename> /etc/inittab</filename>. If your system only has a serial87 <filename>${CLFS}/etc/inittab</filename>. If your system only has a serial 88 88 console skip the following command:</para> 89 89 90 <screen><userinput>cat >> /etc/inittab << "EOF"90 <screen><userinput>cat >> ${CLFS}/etc/inittab << "EOF" 91 91 <literal>1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600 92 92 2:2345:respawn:/sbin/agetty -I '\033(K' tty2 9600 … … 99 99 100 100 <para>If your system has a serial console run the following command to add 101 the entry to <filename> /etc/inittab</filename>.</para>101 the entry to <filename>${CLFS}/etc/inittab</filename>.</para> 102 102 103 <screen><userinput>cat >> /etc/inittab << "EOF"103 <screen><userinput>cat >> ${CLFS}/etc/inittab << "EOF" 104 104 <literal>c0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100 105 105 </literal> 106 106 EOF</userinput></screen> 107 107 108 <para>Finally, Add the end line to <filename> /etc/inittab</filename>.</para>108 <para>Finally, Add the end line to <filename>${CLFS}/etc/inittab</filename>.</para> 109 109 110 <screen><userinput>cat >> /etc/inittab << "EOF"110 <screen><userinput>cat >> ${CLFS}/etc/inittab << "EOF" 111 111 <literal># End /etc/inittab</literal> 112 112 EOF</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.