summaryrefslogtreecommitdiffstats
path: root/libexec/getty/gettytab.5
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-08-01 13:12:24 +0000
committerjkh <jkh@FreeBSD.org>1995-08-01 13:12:24 +0000
commit7653865894105d645b8602d444bd2201cd96822a (patch)
treecd2927fc137883a6d7553f4b065bedadba4b4827 /libexec/getty/gettytab.5
parent4c3d7b54ab8ca4a0b809a982aa2244df7c7d3e31 (diff)
downloadFreeBSD-src-7653865894105d645b8602d444bd2201cd96822a.zip
FreeBSD-src-7653865894105d645b8602d444bd2201cd96822a.tar.gz
A useful aid.. Add support for:
%r: current release %m: machine architecture type (i386 for now) %s: OS name (FreeBSD) from uname() in banner string.
Diffstat (limited to 'libexec/getty/gettytab.5')
-rw-r--r--libexec/getty/gettytab.511
1 files changed, 8 insertions, 3 deletions
diff --git a/libexec/getty/gettytab.5 b/libexec/getty/gettytab.5
index db6b1cc..834e979 100644
--- a/libexec/getty/gettytab.5
+++ b/libexec/getty/gettytab.5
@@ -220,10 +220,15 @@ and
.Em \&lm
may include the character sequence
.Em \&%h
-or
+to include the hostname,
.Em \&%t
-to obtain
-the hostname or tty name respectively.
+to obtain the tty name,
+.Em \&%s
+to obtain the OS type (FreeBSD),
+.Em \&%r
+to obtain the OS release string or
+.Em \&%m
+to obtain the machine architecture type.
.Pf ( Em %%
obtains a single '%' character.)
The hostname is normally obtained from the system,
OpenPOWER on IntegriCloud