summaryrefslogtreecommitdiffstats
path: root/libexec/getty
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2018-09-25 20:02:43 +0000
committerjmc <jmc@openbsd.org>2018-09-25 20:02:43 +0000
commit0aed10ebd81e1fa5a8779db07783263588e39723 (patch)
tree718b8e2f04f2811c1b54974d92aef785c472f7a4 /libexec/getty
parentUse getnameinfo(2) (diff)
downloadwireguard-openbsd-0aed10ebd81e1fa5a8779db07783263588e39723.tar.xz
wireguard-openbsd-0aed10ebd81e1fa5a8779db07783263588e39723.zip
document HUP;
based on a diff from katherine rohl, shortened by request of deraadt
Diffstat (limited to 'libexec/getty')
-rw-r--r--libexec/getty/ttys.510
1 files changed, 8 insertions, 2 deletions
diff --git a/libexec/getty/ttys.5 b/libexec/getty/ttys.5
index 5c2cae26676..b992af97877 100644
--- a/libexec/getty/ttys.5
+++ b/libexec/getty/ttys.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ttys.5,v 1.11 2008/10/22 22:16:16 mpf Exp $
+.\" $OpenBSD: ttys.5,v 1.12 2018/09/25 20:02:43 jmc Exp $
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -28,7 +28,7 @@
.\"
.\" from: @(#)ttys.5 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: October 22 2008 $
+.Dd $Mdocdate: September 25 2018 $
.Dt TTYS 5
.Os
.Sh NAME
@@ -129,6 +129,12 @@ may be followed by a quoted command string which
will execute
.Em before
starting the command specified by the second field.
+.Pp
+Changes to the ttys file take effect after it has been reloaded by
+.Xr init 8 ,
+which can be triggered by sending it a
+.Dv HUP
+signal.
.Sh FILES
.Bl -tag -width /etc/ttys -compact
.It Pa /etc/ttys