summaryrefslogtreecommitdiffstats
path: root/include/ttyent.h
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 /include/ttyent.h
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 'include/ttyent.h')
-rw-r--r--include/ttyent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ttyent.h b/include/ttyent.h
index 815d168..f2220ad 100644
--- a/include/ttyent.h
+++ b/include/ttyent.h
@@ -37,6 +37,7 @@
#define _TTYS_OFF "off"
#define _TTYS_ON "on"
+#define _TTYS_ONIFCONSOLE "onifconsole"
#define _TTYS_SECURE "secure"
#define _TTYS_INSECURE "insecure"
#define _TTYS_WINDOW "window"
OpenPOWER on IntegriCloud