summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2014-06-08 17:50:07 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2014-06-08 17:50:07 +0000
commitdc45432cd4f03f948237c53e557e8a56c844f7ca (patch)
tree65553542f819e6c80a2e85faee72b236e6ddc304 /etc
parent4c7f4e5ef3415b0183caaebe7b91bf164418864b (diff)
downloadFreeBSD-src-dc45432cd4f03f948237c53e557e8a56c844f7ca.zip
FreeBSD-src-dc45432cd4f03f948237c53e557e8a56c844f7ca.tar.gz
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
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.amd64/ttys2
-rw-r--r--etc/etc.i386/ttys2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/etc.amd64/ttys b/etc/etc.amd64/ttys
index 42fa7c0..ead05af 100644
--- a/etc/etc.amd64/ttys
+++ b/etc/etc.amd64/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
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
OpenPOWER on IntegriCloud