From e8db800bc4dee8e1a4e4df64457f0fd7c5aedd04 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 1 Jun 2011 02:40:27 +0200 Subject: 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 --- inittab | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'inittab') diff --git a/inittab b/inittab index ccc1b40..a375f59 100644 --- a/inittab +++ b/inittab @@ -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 -- cgit v1.2.3