From dc45432cd4f03f948237c53e557e8a56c844f7ca Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Sun, 8 Jun 2014 17:50:07 +0000 Subject: MFC r260913,266895: Add a new flag to /etc/ttys: onifconsole. This is equivalent to "on" if the device is an active kernel console and "off" otherwise. This is designed to allow serial-booting x86 systems to provide a login prompt on the serial line by default without providing one on all systems by default. Set this flag on x86 systems for ttyu0. Comments and suggestions by: grehan, dteske, jilles --- etc/etc.i386/ttys | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/etc.i386/ttys') diff --git a/etc/etc.i386/ttys b/etc/etc.i386/ttys index 42fa7c0..ead05af 100644 --- a/etc/etc.i386/ttys +++ b/etc/etc.i386/ttys @@ -41,7 +41,7 @@ ttyv7 "/usr/libexec/getty Pc" xterm on secure ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure # Serial terminals # The 'dialup' keyword identifies dialin lines to login, fingerd etc. -ttyu0 "/usr/libexec/getty std.9600" dialup off secure +ttyu0 "/usr/libexec/getty std.9600" vt100 onifconsole secure ttyu1 "/usr/libexec/getty std.9600" dialup off secure ttyu2 "/usr/libexec/getty std.9600" dialup off secure ttyu3 "/usr/libexec/getty std.9600" dialup off secure -- cgit v1.1