From 371fb3d0d06e2b5b5d37832970cc92d228b09614 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 27 Aug 2017 17:07:12 +0200 Subject: [PATCH] Add example for using an external getty Signed-off-by: Joachim Nilsson --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 70371c4f..2cfc8324 100644 --- a/README.md +++ b/README.md @@ -86,9 +86,14 @@ inetd ssh/tcp@*,!eth0 nowait [2345] /sbin/dropbear -i -R -F -- SSH service # Run start scripts from this directory # runparts /etc/start.d -# Virtual consoles to start built-in getty on -tty [12345] /dev/tty1 115200 linux +# Virtual consoles run BusyBox getty +tty [12345] /sbin/getty -L 115200 /dev/tty1 linux +tty [12345] /sbin/getty -L 115200 /dev/tty2 linux +tty [12345] /sbin/getty -L 115200 /dev/tty3 linux + +# Use built-in getty for serial port and USB serial tty [12345] /dev/ttyAMA0 115200 vt100 +tty [12345] /dev/ttyUSB0 115200 vt100 ``` The `service` stanza, as well as `task`, `run`, `inetd` and others are