summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2014-01-20 18:15:06 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2014-01-20 18:15:06 +0000
commit875e23de1fa47e9bee345d3bfe18237970db0b83 (patch)
tree4e3148296da1dfbb27b5f98e69f14f2485a72627 /include
parent094f2691cab2836b1d441da0c8e114c402630dc1 (diff)
downloadFreeBSD-src-875e23de1fa47e9bee345d3bfe18237970db0b83.zip
FreeBSD-src-875e23de1fa47e9bee345d3bfe18237970db0b83.tar.gz
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. Comments and suggestions by: grehan, dteske, jilles MFC after: 1 month
Diffstat (limited to 'include')
-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