diff options
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | README | 10 | ||||
| -rw-r--r-- | config.mk | 6 | ||||
| -rw-r--r-- | sleeping-getty.8 | 14 |
4 files changed, 17 insertions, 17 deletions
@@ -13,8 +13,8 @@ sleeping-getty: sleeping-getty.o $(CC) -o $@ sleeping-getty.o $(LDFLAGS) install: sleeping-getty - mkdir -p -- "$(DESTDIR)$(PREFIX)/sbin" - mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man8" + mkdir -p -- "$(DESTDIR)$(PREFIX)/sbin/" + mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man8/" cp -- sleeping-getty "$(DESTDIR)$(PREFIX)/sbin/" cp -- sleeping-getty.8 "$(DESTDIR)$(MANPREFIX)/man8/" @@ -1,5 +1,5 @@ NAME - sleeping-getty - Do not start a fullblown getty before it is necessary + sleeping-getty - Do not start a full-blown getty before it is necessary SYNOPSIS sleeping-getty vtno getty-command [arguments] ... @@ -11,7 +11,7 @@ DESCRIPTION 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. + serial console to become active, only virtual terminals. EXAMPLE /sbin/sleeping-getty 15 /sbin/got tty15 TERM=linux @@ -25,15 +25,15 @@ NOTES of CPU cycles. This means, if naïvely used, that if you start your computer, log in on tty1, and start X, and have startx configured to start X on the next available VT. X will start - on VT 2. This is probably not want you want. Instead you + on VT 2. This is probably not what you want. Instead you should edit startx to ensure that a VT lower than a preferred number (customarily 7) will not be used. 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. + waste memory until they are actually used. This becomes extra + important on resource-constrained machines. SEE ALSO getty(8), mingetty(8), agetty(8), got(8), vtchs(1), inittab(5) @@ -1,8 +1,8 @@ PREFIX = /usr MANPREFIX = $(PREFIX)/share/man -CC = cc +CC = c99 -CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -CFLAGS = -std=c99 -Wall -Os +CPPFLAGS = -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 +CFLAGS = LDFLAGS = -s diff --git a/sleeping-getty.8 b/sleeping-getty.8 index d18ead8..9b4b8c6 100644 --- a/sleeping-getty.8 +++ b/sleeping-getty.8 @@ -1,8 +1,8 @@ .TH SLEEPING-GETTY 8 SLEEPING-GETTY .SH NAME -sleeping\-getty \- Do not start a fullblown getty before it is necessary +sleeping-getty \- Do not start a full-blown getty before it is necessary .SH SYNOPSIS -.B sleeping\-getty +.B sleeping-getty .I vtno .I getty-command .IR argument \ ... @@ -20,9 +20,9 @@ with and all following arguments as the command line arguments. .PP Note that -.B sleeping-getty +.B sleeping\-getty works on VT:s, not TTY:s. It cannot wait for a serial console to -become, active, only virtual terminals. +become active, only virtual terminals. .SH EXAMPLE .nf /sbin/\fBsleeping\-getty\fP \fI15\fP /sbin/got tty\fI15\fP TERM=linux @@ -43,7 +43,7 @@ configured to start .B X on the next available VT. .B X -will start on VT\ 2. This is probably not want you want. +will start on VT\ 2. This is probably not what you want. Instead you should edit .B startx to ensure that a VT lower than a preferred number @@ -51,8 +51,8 @@ to ensure that a VT lower than a preferred number .SH 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. +waste memory until they are actually used. This becomes extra +important on resource-constrained machines. .SH "SEE ALSO" .BR getty (8), .BR mingetty (8), |
