diff options
author | Werner Fink | 2011-05-09 15:52:36 +0200 |
---|---|---|
committer | Karel Zak | 2011-05-17 11:10:21 +0200 |
commit | 3aa6b68f7e19fa3e1c2bba75bee921a98b7b46af (patch) | |
tree | 22c2878b4045db70087eacc05b9041aa00490225 /term-utils/agetty.8 | |
parent | agetty: cleanup argv parsing, utmp update, use writeall(), etc. (diff) | |
download | kernel-qcow2-util-linux-3aa6b68f7e19fa3e1c2bba75bee921a98b7b46af.tar.gz kernel-qcow2-util-linux-3aa6b68f7e19fa3e1c2bba75bee921a98b7b46af.tar.xz kernel-qcow2-util-linux-3aa6b68f7e19fa3e1c2bba75bee921a98b7b46af.zip |
agetty: proper session on the terminal line
Ensure a proper session on the terminal line, that is do a
vhangup() and become the controlling terminal. After this
determine if the terminal line a virtual console by using
the ioctl TIOCMGET to get the status modem bits of a serial
line which is a invalid argument on a virtual console.
Signed-off-by: Werner Fink <werner@suse.de>
Diffstat (limited to 'term-utils/agetty.8')
-rw-r--r-- | term-utils/agetty.8 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/term-utils/agetty.8 b/term-utils/agetty.8 index 21a07a0ee..4abd8197f 100644 --- a/term-utils/agetty.8 +++ b/term-utils/agetty.8 @@ -152,6 +152,9 @@ space parity, 7 bit characters, and ASCII CR (13) end-of-line character. Beware that the program that \fBagetty\fR starts (usually /bin/login) is run as root. .TP +\-R, \-\-hangup +Do call vhangup() for a virtually hangup of the specified terminal. +.TP \-s, \-\-keep-baud Try to keep the existing baud rate. The baud rates from the command line are used when agetty receives a BREAK character. |