diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-19 01:10:31 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-19 01:10:31 +0100 |
commit | b27028c4b3f01f8faab3d01f3e0b7804681cfe9b (patch) | |
tree | 3443f1c8288efa10d06479c496a8ccc7a4653897 /README | |
parent | add copying (diff) | |
download | sleeping-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>
Diffstat (limited to '')
-rw-r--r-- | README | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -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) + |