Updated to be in sync with the current sample inittab
authorPavel Roskin <proski@gnu.org>
Fri, 15 Sep 2000 17:24:13 +0000 (17:24 -0000)
committerPavel Roskin <proski@gnu.org>
Fri, 15 Sep 2000 17:24:13 +0000 (17:24 -0000)
docs/busybox.pod
docs/busybox.sgml

index 87e9d95b3d7d955a3304571d460d60483a38efc3..fed8b57a6de150caa79958a22f9fd05010980f39 100644 (file)
@@ -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 $
index e81523046422a53ad24ceee673654561028259a6..f4161f59e0c51ed0c7da43fed7488cbd9f598396 100644 (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
+                       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)
                        #
                        #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>