From c9db2e8665887d0dc5746f9cea99eca90ea10a0c Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 15 Sep 2000 17:24:13 +0000 Subject: Updated to be in sync with the current sample inittab --- docs/busybox.pod | 18 ++++++++++-------- 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: # /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 =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 e81523046..f4161f59e 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 > /dev/null 2>&1 - ::ctrlaltdel:/sbin/swapoff -a > /dev/null 2>&1 + ::ctrlaltdel:/bin/umount -a -r + ::ctrlaltdel:/sbin/swapoff -- cgit v1.2.3