[PATCH] examples: inittab fix getty respawn invocation

Gaël PORTAY gael.portay at savoirfairelinux.com
Fri Nov 17 04:49:13 UTC 2017


Fix mismatch between the tty id field and the tty device used in
command-line.

Signed-off-by: Gaël PORTAY <gael.portay at savoirfairelinux.com>
---
 examples/inittab | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/inittab b/examples/inittab
index 01ceaef25..653e3f5c9 100644
--- a/examples/inittab
+++ b/examples/inittab
@@ -64,8 +64,8 @@ tty3::askfirst:-/bin/sh
 tty4::askfirst:-/bin/sh
 
 # /sbin/getty invocations for selected ttys
-tty4::respawn:/sbin/getty 38400 tty5
-tty5::respawn:/sbin/getty 38400 tty6
+tty5::respawn:/sbin/getty 38400 tty5
+tty6::respawn:/sbin/getty 38400 tty6
 
 # Example of how to put a getty on a serial line (for a terminal)
 #::respawn:/sbin/getty -L ttyS0 9600 vt100
-- 
2.15.0



More information about the busybox mailing list