diff options
author | Pavel Roskin <proski@gnu.org> | 2000-09-15 17:24:13 +0000 |
---|---|---|
committer | Pavel Roskin <proski@gnu.org> | 2000-09-15 17:24:13 +0000 |
commit | c9db2e8665887d0dc5746f9cea99eca90ea10a0c (patch) | |
tree | 70808ed2a879fb0e58a379d1f7a58779ef10c2e4 | |
parent | d2d3aa39eff98d23645c70a9fc68ad52079060dc (diff) | |
download | busybox-w32-c9db2e8665887d0dc5746f9cea99eca90ea10a0c.tar.gz busybox-w32-c9db2e8665887d0dc5746f9cea99eca90ea10a0c.tar.bz2 busybox-w32-c9db2e8665887d0dc5746f9cea99eca90ea10a0c.zip |
Updated to be in sync with the current sample inittab
-rw-r--r-- | docs/busybox.pod | 18 | ||||
-rw-r--r-- | docs/busybox.sgml | 16 |
2 files changed, 19 insertions, 15 deletions
diff --git a/docs/busybox.pod b/docs/busybox.pod index 87e9d95b3..fed8b57a6 100644 --- a/docs/busybox.pod +++ b/docs/busybox.pod | |||
@@ -913,14 +913,16 @@ Example /etc/inittab file: | |||
913 | # /bin/sh invocations on selected ttys | 913 | # /bin/sh invocations on selected ttys |
914 | # | 914 | # |
915 | # Start an "askfirst" shell on the console (whatever that may be) | 915 | # Start an "askfirst" shell on the console (whatever that may be) |
916 | ::askfirst:/bin/sh | 916 | ::askfirst:-/bin/sh |
917 | # Start an "askfirst" shell on /dev/tty2 | 917 | # Start an "askfirst" shell on /dev/tty2-4 |
918 | tty2::askfirst:/bin/sh | 918 | tty2::askfirst:-/bin/sh |
919 | tty3::askfirst:-/bin/sh | ||
920 | tty4::askfirst:-/bin/sh | ||
919 | 921 | ||
920 | # /sbin/getty invocations for selected ttys | 922 | # /sbin/getty invocations for selected ttys |
921 | # | 923 | # |
922 | tty4::respawn:/sbin/getty 38400 tty4 | 924 | tty4::respawn:/sbin/getty 38400 tty5 |
923 | tty5::respawn:/sbin/getty 38400 tty5 | 925 | tty5::respawn:/sbin/getty 38400 tty6 |
924 | 926 | ||
925 | 927 | ||
926 | # Example of how to put a getty on a serial line (for a terminal) | 928 | # Example of how to put a getty on a serial line (for a terminal) |
@@ -932,8 +934,8 @@ Example /etc/inittab file: | |||
932 | #ttyS2::respawn:/sbin/getty -x0 -s 57600 ttyS2 | 934 | #ttyS2::respawn:/sbin/getty -x0 -s 57600 ttyS2 |
933 | 935 | ||
934 | # Stuff to do before rebooting | 936 | # Stuff to do before rebooting |
935 | ::ctrlaltdel:/bin/umount -a -r > /dev/null 2>&1 | 937 | ::ctrlaltdel:/bin/umount -a -r |
936 | ::ctrlaltdel:/sbin/swapoff -a > /dev/null 2>&1 | 938 | ::ctrlaltdel:/sbin/swapoff -a |
937 | 939 | ||
938 | ------------------------------- | 940 | ------------------------------- |
939 | 941 | ||
@@ -2155,4 +2157,4 @@ Enrique Zanardi <ezanardi@ull.es> | |||
2155 | 2157 | ||
2156 | =cut | 2158 | =cut |
2157 | 2159 | ||
2158 | # $Id: busybox.pod,v 1.67 2000/09/15 08:04:42 beppu Exp $ | 2160 | # $Id: busybox.pod,v 1.68 2000/09/15 17:24:13 proski Exp $ |
diff --git a/docs/busybox.sgml b/docs/busybox.sgml index e81523046..f4161f59e 100644 --- a/docs/busybox.sgml +++ b/docs/busybox.sgml | |||
@@ -1567,14 +1567,16 @@ | |||
1567 | # /bin/sh invocations on selected ttys | 1567 | # /bin/sh invocations on selected ttys |
1568 | # | 1568 | # |
1569 | # Start an "askfirst" shell on the console (whatever that may be) | 1569 | # Start an "askfirst" shell on the console (whatever that may be) |
1570 | ::askfirst:/bin/sh | 1570 | ::askfirst:-/bin/sh |
1571 | # Start an "askfirst" shell on /dev/tty2 | 1571 | # Start an "askfirst" shell on /dev/tty2-4 |
1572 | tty2::askfirst:/bin/sh | 1572 | tty2::askfirst:-/bin/sh |
1573 | tty2::askfirst:-/bin/sh | ||
1574 | tty2::askfirst:-/bin/sh | ||
1573 | 1575 | ||
1574 | # /sbin/getty invocations for selected ttys | 1576 | # /sbin/getty invocations for selected ttys |
1575 | # | 1577 | # |
1576 | tty4::respawn:/sbin/getty 38400 tty4 | 1578 | tty4::respawn:/sbin/getty 38400 tty5 |
1577 | tty5::respawn:/sbin/getty 38400 tty5 | 1579 | tty5::respawn:/sbin/getty 38400 tty6 |
1578 | 1580 | ||
1579 | # Example of how to put a getty on a serial line (for a terminal) | 1581 | # Example of how to put a getty on a serial line (for a terminal) |
1580 | # | 1582 | # |
@@ -1585,8 +1587,8 @@ | |||
1585 | #ttyS2::respawn:/sbin/getty -x0 -s 57600 ttyS2 | 1587 | #ttyS2::respawn:/sbin/getty -x0 -s 57600 ttyS2 |
1586 | 1588 | ||
1587 | # Stuff to do before rebooting | 1589 | # Stuff to do before rebooting |
1588 | ::ctrlaltdel:/bin/umount -a -r > /dev/null 2>&1 | 1590 | ::ctrlaltdel:/bin/umount -a -r |
1589 | ::ctrlaltdel:/sbin/swapoff -a > /dev/null 2>&1 | 1591 | ::ctrlaltdel:/sbin/swapoff |
1590 | </screen> | 1592 | </screen> |
1591 | </para> | 1593 | </para> |
1592 | </sect2> | 1594 | </sect2> |