summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPavel Roskin2000-09-15 17:24:13 +0000
committerPavel Roskin2000-09-15 17:24:13 +0000
commitc9db2e8665887d0dc5746f9cea99eca90ea10a0c (patch)
tree70808ed2a879fb0e58a379d1f7a58779ef10c2e4 /docs
parentd2d3aa39eff98d23645c70a9fc68ad52079060dc (diff)
downloadbusybox-c9db2e8665887d0dc5746f9cea99eca90ea10a0c.zip
busybox-c9db2e8665887d0dc5746f9cea99eca90ea10a0c.tar.gz
Updated to be in sync with the current sample inittab
Diffstat (limited to 'docs')
-rw-r--r--docs/busybox.pod18
-rw-r--r--docs/busybox.sgml16
2 files changed, 19 insertions, 15 deletions
diff --git a/docs/busybox.pod b/docs/busybox.pod
index 87e9d95..fed8b57 100644
--- a/docs/busybox.pod
+++ b/docs/busybox.pod
@@ -913,14 +913,16 @@ Example /etc/inittab file:
# /bin/sh invocations on selected ttys
#
# Start an "askfirst" shell on the console (whatever that may be)
- ::askfirst:/bin/sh
- # Start an "askfirst" shell on /dev/tty2
- tty2::askfirst:/bin/sh
+ ::askfirst:-/bin/sh
+ # Start an "askfirst" shell on /dev/tty2-4
+ tty2::askfirst:-/bin/sh
+ tty3::askfirst:-/bin/sh
+ tty4::askfirst:-/bin/sh
# /sbin/getty invocations for selected ttys
#
- tty4::respawn:/sbin/getty 38400 tty4
- tty5::respawn:/sbin/getty 38400 tty5
+ tty4::respawn:/sbin/getty 38400 tty5
+ tty5::respawn:/sbin/getty 38400 tty6
# Example of how to put a getty on a serial line (for a terminal)
@@ -932,8 +934,8 @@ Example /etc/inittab file:
#ttyS2::respawn:/sbin/getty -x0 -s 57600 ttyS2
# Stuff to do before rebooting
- ::ctrlaltdel:/bin/umount -a -r > /dev/null 2>&1
- ::ctrlaltdel:/sbin/swapoff -a > /dev/null 2>&1
+ ::ctrlaltdel:/bin/umount -a -r
+ ::ctrlaltdel:/sbin/swapoff -a
-------------------------------
@@ -2155,4 +2157,4 @@ Enrique Zanardi <ezanardi@ull.es>
=cut
-# $Id: busybox.pod,v 1.67 2000/09/15 08:04:42 beppu Exp $
+# $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 e815230..f4161f5 100644
--- a/docs/busybox.sgml
+++ b/docs/busybox.sgml
@@ -1567,14 +1567,16 @@
# /bin/sh invocations on selected ttys
#
# Start an "askfirst" shell on the console (whatever that may be)
- ::askfirst:/bin/sh
- # Start an "askfirst" shell on /dev/tty2
- tty2::askfirst:/bin/sh
+ ::askfirst:-/bin/sh
+ # Start an "askfirst" shell on /dev/tty2-4
+ tty2::askfirst:-/bin/sh
+ tty2::askfirst:-/bin/sh
+ tty2::askfirst:-/bin/sh
# /sbin/getty invocations for selected ttys
#
- tty4::respawn:/sbin/getty 38400 tty4
- tty5::respawn:/sbin/getty 38400 tty5
+ tty4::respawn:/sbin/getty 38400 tty5
+ tty5::respawn:/sbin/getty 38400 tty6
# Example of how to put a getty on a serial line (for a terminal)
#
@@ -1585,8 +1587,8 @@
#ttyS2::respawn:/sbin/getty -x0 -s 57600 ttyS2
# Stuff to do before rebooting
- ::ctrlaltdel:/bin/umount -a -r &gt; /dev/null 2&gt;&amp;1
- ::ctrlaltdel:/sbin/swapoff -a &gt; /dev/null 2&gt;&amp;1
+ ::ctrlaltdel:/bin/umount -a -r
+ ::ctrlaltdel:/sbin/swapoff
</screen>
</para>
</sect2>