Last change
on this file since 003388c was 1d67150, checked in by Jim Gifford <clfs@…>, 18 years ago |
Removed udev
Added the use of mdev
Removed udev rules
Added bootscripts configuration information
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[1d67150] | 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-scripts-inittab">
|
---|
| 9 | <?dbhtml filename="inittab.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>inittab</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-scripts-inittab">
|
---|
| 14 | <primary sortas="a-mde">inittab</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>Is the file that specifices how to boot and shutdown a system.</para>
|
---|
| 21 |
|
---|
| 22 | </sect2>
|
---|
| 23 |
|
---|
| 24 | <sect2>
|
---|
| 25 | <title>Create /etc/inittab</title>
|
---|
| 26 |
|
---|
| 27 | <para os="a">Now we will create the inittab file for use with our system:</para>
|
---|
| 28 |
|
---|
| 29 | <screen os="b"><userinput>cat > ${CLFS}/etc/inittab<< "EOF"
|
---|
| 30 | <literal># /etc/inittab
|
---|
| 31 |
|
---|
| 32 | ::sysinit:/etc/rc.d/startup
|
---|
| 33 |
|
---|
| 34 | tty1::respawn:/sbin/getty 38400 tty1
|
---|
| 35 | tty2::respawn:/sbin/getty 38400 tty2
|
---|
| 36 | tty3::respawn:/sbin/getty 38400 tty3
|
---|
| 37 | tty4::respawn:/sbin/getty 38400 tty4
|
---|
| 38 | tty5::respawn:/sbin/getty 38400 tty5
|
---|
| 39 | tty6::respawn:/sbin/getty 38400 tty6
|
---|
| 40 |
|
---|
| 41 | # Put a getty on the serial line (for a terminal)
|
---|
| 42 | # uncomment this line if your using a serial console
|
---|
| 43 | #::respawn:/sbin/getty -L ttyS0 115200 vt100
|
---|
| 44 |
|
---|
| 45 | ::shutdown:/etc/rc.d/shutdown
|
---|
| 46 | ::ctrlaltdel:/sbin/reboot</literal>
|
---|
| 47 | EOF</userinput></screen>
|
---|
| 48 |
|
---|
| 49 | </sect2>
|
---|
| 50 |
|
---|
| 51 | </sect1>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.