aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2014-01-20 18:15:06 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2014-01-20 18:15:06 +0000
commit0894229871bebfbd52f98485b9e62a2b88a1da1f (patch)
tree4e3148296da1dfbb27b5f98e69f14f2485a72627 /include
parent2f0df38779485ad0ab0de65580036c0ae41f4167 (diff)
downloadsrc-0894229871bebfbd52f98485b9e62a2b88a1da1f.tar.gz
src-0894229871bebfbd52f98485b9e62a2b88a1da1f.zip
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
Notes
Notes: svn path=/head/; revision=260913
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 815d16844709..f2220ad73b94 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"