]> err.no Git - util-linux/commit
agetty: add -s to reuse existing baud rate
authorKarel Zak <kzak@redhat.com>
Wed, 18 Aug 2010 07:02:03 +0000 (09:02 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 18 Aug 2010 07:35:42 +0000 (09:35 +0200)
commit848e5e6ce3978d921366b799d907a78a12299924
treec91dd51f9fbca32d125629aa3617e21031092570
parenta09f0933bb80c52ec1bc30a1678cef7e999aeff9
agetty: add -s to reuse existing baud rate

For example:

/sbin/agetty -s /dev/ttyS0 9600

will reuse the speed the kernel configured on the port. If the setting
from kernel is useless (tty returns BREAK character) then the baud
rate from command line (9600) is used.

Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=623685
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/agetty.8
login-utils/agetty.c