aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-19 01:10:31 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-19 01:10:31 +0100
commitb27028c4b3f01f8faab3d01f3e0b7804681cfe9b (patch)
tree3443f1c8288efa10d06479c496a8ccc7a4653897
parentadd copying (diff)
downloadsleeping-getty-b27028c4b3f01f8faab3d01f3e0b7804681cfe9b.tar.gz
sleeping-getty-b27028c4b3f01f8faab3d01f3e0b7804681cfe9b.tar.bz2
sleeping-getty-b27028c4b3f01f8faab3d01f3e0b7804681cfe9b.tar.xz
add readme
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
-rw-r--r--README31
1 files changed, 31 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..d4aee14
--- /dev/null
+++ b/README
@@ -0,0 +1,31 @@
+NAME
+ sleeping-getty - Do not start a fullblow getty before it is necessary
+
+SYNOPSIS
+ sleeping-getty VTNO GETTY_COMMAND...
+
+DESCRIPTION
+ sleeping-getty shall wait until VTNO (an number of a virtual terminal)
+ becomes the foreground console. Then, it shall execv(3) to GETTY_COMMAND,
+ with GETTY_COMMAND and all following arguments as the command line
+ arguments.
+
+ Note that this program ways on VT:s, not TTY:s. It cannot wait for a
+ serial console to become, active, only virtual terminals.
+
+EXAMPLE
+ /sbin/sleeping-getty 15 /sbin/got tty15 TERM=linux
+
+ /sbin/sleeping-getty 16 /sbin/got tty16 TERM=linux
+
+ /sbin/sleeping-getty 20 /sbin/agetty -8 -s 38400 tty20 linux
+
+RATIONALE
+ It is nice to have a score or two of TTY:s available. However,
+ starting them, can require some unnecessary CPU time and will
+ was memory until they are actually used. This becomes extra
+ important on resource contained machines.
+
+SEE ALSO
+ getty(8), mingetty(8), agetty(8), got(8), vtchs(1)
+