summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.8
diff options
context:
space:
mode:
Diffstat (limited to 'term-utils/agetty.8')
-rw-r--r--term-utils/agetty.813
1 files changed, 12 insertions, 1 deletions
diff --git a/term-utils/agetty.8 b/term-utils/agetty.8
index 7a0df7804..d77955573 100644
--- a/term-utils/agetty.8
+++ b/term-utils/agetty.8
@@ -320,6 +320,14 @@ Insert the current date.
.TP
s
Insert the system name, the name of the operating system. Same as `uname \-s'.
+See also \\S escape code.
+.TP
+S or S{VARIABLE}
+Insert the VARIABLE data from \fI/etc/os-release\fP. If the VARIABLE argument
+is not specified then use PRETTY_NAME from the file or the system name (see \\s).
+This escape code allows to keep \fI/etc/issue\fP distribution and release
+independent. Note that \\S{ANSI_COLOR} is converted to the real terminal
+escape sequence.
.TP
l
Insert the name of the current tty line.
@@ -378,11 +386,14 @@ the system status file.
.B /etc/issue
printed before the login prompt.
.TP
+.B /etc/os-release
+operating system identification data.
+.TP
.B /dev/console
problem reports (if syslog(3) is not used).
.TP
.B /etc/inittab
-\fIinit\fP(8) configuration file.
+\fIinit\fP(8) configuration file for SysV-style init daemon.
.SH BUGS
.ad
.fi