summaryrefslogtreecommitdiff
path: root/etc/etc.mac68k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-01-09 17:39:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-01-09 17:39:43 +0000
commit8abd24ecfe3247f25b4610cc877dd09bd6fab717 (patch)
tree28273c69ffc845e0dc12c3d2d12214784540227f /etc/etc.mac68k
parent646c56c7f9c7a7616ef077259178f4f0bb82e0a8 (diff)
Try to make /etc/ttys more consistent accross platforms, which will also
make the installation media's life easier: - stop using ``Pc'' as a getty terminal type, use std.9600 instead. - on platforms with multiple virtual consoles (alpha, amd64, i386, zaurus), console is disabled, various ttyC* are enabled. - on other platforms, console is enabled, all other devices are disabled. This only changes armish, mac68k, sgi. - default terminal for console is unknown on serial-only machines, vt220 on glass-capable machines (questionable, but done for consistency). - minor whitespace changes. - glass console forgotten on a couple platforms (luna88k, sparc64, vax). eyeballed by deraadt@, ok krw@
Diffstat (limited to 'etc/etc.mac68k')
-rw-r--r--etc/etc.mac68k/ttys19
1 files changed, 5 insertions, 14 deletions
diff --git a/etc/etc.mac68k/ttys b/etc/etc.mac68k/ttys
index 7d6f32c396c..cc2de7beea2 100644
--- a/etc/etc.mac68k/ttys
+++ b/etc/etc.mac68k/ttys
@@ -1,20 +1,11 @@
#
-# $OpenBSD: ttys,v 1.9 2006/03/09 20:49:01 miod Exp $
+# $OpenBSD: ttys,v 1.10 2008/01/09 17:39:42 miod Exp $
#
# name getty type status comments
#
-# If the console is marked insecure, single-user requires
-# the root password.
-console "/usr/libexec/getty Pc" vt220 off secure
-#console "/usr/libexec/getty std.9600" vt220 on secure
-
-# Define the console that we actually run getty on.
-# To enable the serial console, mark ttyC0 'off' and turn on the
-# console entry configuring it as though it were one of the serial
-# ports (e.g., setting the entry to 'std.9600').
-ttyC0 "/usr/libexec/getty Pc" vt220 on secure
-
-# Hardwired lines are marked off, by default, so getty(8)
-# is quiet when they don't exist.
+console "/usr/libexec/getty std.9600" vt220 on secure
+# graphics console
+ttyC0 "/usr/libexec/getty std.9600" vt220 off secure
+# serial lines
tty00 "/usr/libexec/getty std.9600" unknown off secure
tty01 "/usr/libexec/getty std.9600" unknown off secure