]> git.ipfire.org Git - thirdparty/util-linux.git/commit
Add built in fallbacks for motd file
authorLudwig Nussel <ludwig.nussel@suse.de>
Fri, 7 Sep 2018 07:47:25 +0000 (09:47 +0200)
committerLudwig Nussel <ludwig.nussel@suse.de>
Fri, 7 Sep 2018 07:47:25 +0000 (09:47 +0200)
commit4866b7178614e7db0de15212e5846e1a5656211a
tree930dcb94a9f32344af66f80fd09a981d3a3fc158
parent27afe5016842c22d256ea9f88b598d637ca0df84
Add built in fallbacks for motd file

Use several locations for built in default for motd to allow for
e.g. run time generated motd without having to modify config files.
login.c already splits by colon.

/usr/share/misc/motd
  - chould be shipped by distributions
/run/motd
  - potentially run time created file with dynamic information
/etc/motd
  - for the admin fill with local information

Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de>
include/pathnames.h