aboutsummaryrefslogtreecommitdiffstats
path: root/README
blob: bda5a6651317f28d0799d048430ada9b33599973 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 (a 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 sleeping-getty works 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), inittab(5)