diff options
author | Tom Gundersen <teg@jklm.no> | 2011-06-01 02:40:27 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-06-01 02:40:27 +0200 |
commit | e8db800bc4dee8e1a4e4df64457f0fd7c5aedd04 (patch) | |
tree | 0898374919cf883d147525d57b887f0a47261159 /inittab | |
parent | a41c290180a5f7d0c7aa9eef2210956dd0a8bc63 (diff) |
agetty: keep baud rate from kernel if possible
To quote the commit to util-linux:
"Reuse the speed the kernel configured on the port. If the setting
from kernel is useless (tty returns BREAK character) then the specified
baud rate (38400) is used."
Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'inittab')
-rw-r--r-- | inittab | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -24,18 +24,18 @@ rh:06:wait:/etc/rc.shutdown su:S:wait:/sbin/sulogin -p # -8 options fixes umlauts problem on login -c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux -c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux -c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux -c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux -c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux -c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux +c1:2345:respawn:/sbin/agetty -8 -s 38400 tty1 linux +c2:2345:respawn:/sbin/agetty -8 -s 38400 tty2 linux +c3:2345:respawn:/sbin/agetty -8 -s 38400 tty3 linux +c4:2345:respawn:/sbin/agetty -8 -s 38400 tty4 linux +c5:2345:respawn:/sbin/agetty -8 -s 38400 tty5 linux +c6:2345:respawn:/sbin/agetty -8 -s 38400 tty6 linux # Serial Virtual Console for KVM and others VMs -#s0:2345:respawn:/sbin/agetty -8 9600 ttyS0 linux +#s0:2345:respawn:/sbin/agetty -8 -s 9600 ttyS0 linux # Hypervisor Virtual Console for Xen and KVM -#h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux +#h0:2345:respawn:/sbin/agetty -8 -s 38400 hvc0 linux ca::ctrlaltdel:/sbin/shutdown -t3 -r now |