summaryrefslogtreecommitdiff
path: root/inittab
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-06-01 02:40:27 +0200
committerTom Gundersen <teg@jklm.no>2011-06-01 02:40:27 +0200
commite8db800bc4dee8e1a4e4df64457f0fd7c5aedd04 (patch)
tree0898374919cf883d147525d57b887f0a47261159 /inittab
parenta41c290180a5f7d0c7aa9eef2210956dd0a8bc63 (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--inittab16
1 files changed, 8 insertions, 8 deletions
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