Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2026 19:54:03 +0000
From:      Alexander Ziaee <ziaee@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 6d15e0efa0b3 - main - ttys: Correct comment about required statuses
Message-ID:  <699b5edb.47536.1efe20f0@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=6d15e0efa0b3a85cf69f3c72d3f24f4f97850a03

commit 6d15e0efa0b3a85cf69f3c72d3f24f4f97850a03
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-02-22 07:37:45 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-02-22 19:51:07 +0000

    ttys: Correct comment about required statuses
    
    The status field also accepts onifconsole and onifexists,
    so it looks crusty saying that it only accepts on and off.
    
    Reviewed by:    imp
    Closes:         https://github.com/freebsd/freebsd-src/pull/2042
---
 sbin/init/ttys | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sbin/init/ttys b/sbin/init/ttys
index 4aa4ddfce6fe..664bb14b02c8 100644
--- a/sbin/init/ttys
+++ b/sbin/init/ttys
@@ -15,9 +15,9 @@
 #        Other common values include dialup for incoming modem ports,
 #        and unknown when the terminal type cannot be predetermined.
 #
-# status Must be on or off.  If on, init will run the getty program on
-#        the specified port.  If the word "secure" appears, this tty
-#        allows root login.
+# status Must be on, onifconsole, onifexists, or off.  If on, init
+#        will run the getty program on the specified port.  If the
+#        word "secure" appears, this tty allows root login.
 #
 # name	getty				type	status		comments
 #


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?699b5edb.47536.1efe20f0>