]> git.ipfire.org Git - thirdparty/util-linux.git/commit
login: add support for directories in MOTD_FILE=
authorKarel Zak <kzak@redhat.com>
Tue, 12 May 2020 12:20:54 +0000 (14:20 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 12 May 2020 12:20:54 +0000 (14:20 +0200)
commit5a528e2c6ff9735266fc2607c359e925b074bf2c
treee4c6b1f6c79b3c33bba2b4091a4084e82e0c9de3
parent1f861935a7292acbecc4d1618657e740e46175d9
login: add support for directories in MOTD_FILE=

The current standard is to use directories to make it easy for
distributions to share resources. This patch also add /etc/motd.d
and /run/motd.d to the default MOTD_FILE=.

Addresses: https://github.com/karelzak/util-linux/issues/10341
Signed-off-by: Karel Zak <kzak@redhat.com>
include/pathnames.h
login-utils/login.1
login-utils/login.c