]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a new getty/gettytab capability to generate an initial message dynamically.
authorDavid Bright <dab@FreeBSD.org>
Thu, 7 Sep 2017 00:20:17 +0000 (00:20 +0000)
committerDavid Bright <dab@FreeBSD.org>
Thu, 7 Sep 2017 00:20:17 +0000 (00:20 +0000)
commitff48be37b5e0fe277eaf8a46c732ea5e484bab9c
tree2270b879517fdfb17e156c5d3eb9697935afff47
parentf526d86d7577dc9c5a23a3c1f504bdf156915d2f
Add a new getty/gettytab capability to generate an initial message dynamically.

This modification adds a new gettytab(5) option (iM) to specify a
program to run that will generate the initial (banner) message that is
displayed before the login prompt. Such a capability is useful when
dynamic information is needed in the banner message that cannot be
supplied by the set of % substitution sequences available in the "im"
option.

Reviewed by: vangyzen, wblock, manpages
Approved by: vangyzen (mentor)
MFC after: 1 week
Relnotes: yes
Sponsored by: Dell EMC
Differential Revision: https://reviews.freebsd.org/D12108
libexec/getty/gettytab.5
libexec/getty/gettytab.h
libexec/getty/init.c
libexec/getty/main.c