diff options
author | Stef Walter | 2014-07-03 17:44:41 +0200 |
---|---|---|
committer | Karel Zak | 2014-07-28 16:33:33 +0200 |
commit | 6443dd43da28885302449aaca4b9c69c7f9585af (patch) | |
tree | 91e5f9a23be0605df5f032629118f62bb3d38a45 /libuuid/uuid.pc.in | |
parent | swaplabel: move swapon-common to include directory (diff) | |
download | kernel-qcow2-util-linux-6443dd43da28885302449aaca4b9c69c7f9585af.tar.gz kernel-qcow2-util-linux-6443dd43da28885302449aaca4b9c69c7f9585af.tar.xz kernel-qcow2-util-linux-6443dd43da28885302449aaca4b9c69c7f9585af.zip |
agetty: Reprompt and reprint /etc/issue when asked
Add an 'agetty --reload' command which asks all running agetty
commands to display their prompts again.
Several of the /etc/issue escape codes such as \4 and \S depend on
variable data which can change after the agetty prompt is displayed.
This can cause stale data to be displayed when a user looks at a VT,
especially in cases of DHCP racing with system start up.
We never want this to occur once the user has started typing a
user name. So we detect when the user starts typing, after which
no further reprompting occurs after that point.
[kzak@redhat.com: - add #ifdefs to make it usable on non-inotify systems,
- use futimens() with NULL timespec
- add --reaload to usage()]
Signed-off-by: Stef Walter <stefw-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libuuid/uuid.pc.in')
0 files changed, 0 insertions, 0 deletions