Karel Zak 991206
From dbdd1f385f25da1e7de8ff6ed2481c70d1864b6e Mon Sep 17 00:00:00 2001
Karel Zak 991206
From: Karel Zak <kzak@redhat.com>
Karel Zak 991206
Date: Tue, 24 Aug 2021 13:50:57 +0200
Karel Zak 991206
Subject: login: default motd file
Karel Zak 991206
Karel Zak 991206
Add `/run/motd.d` to the hardcoded MOTD_FILE
Karel Zak 991206
Karel Zak 991206
Addresses: https://github.com/coreos/console-login-helper-messages/issues/60
Karel Zak 991206
---
Karel Zak 991206
 include/pathnames.h | 2 +-
Karel Zak 991206
 1 file changed, 1 insertion(+), 1 deletion(-)
Karel Zak 991206
DistroBaker f4f7aa
diff --git a/include/pathnames.h b/include/pathnames.h
Karel Zak 991206
index 9be2baa83..7e7d9053f 100644
DistroBaker f4f7aa
--- a/include/pathnames.h
DistroBaker f4f7aa
+++ b/include/pathnames.h
DistroBaker f4f7aa
@@ -41,7 +41,7 @@
DistroBaker f4f7aa
 #ifndef _PATH_MAILDIR
DistroBaker f4f7aa
 # define _PATH_MAILDIR		"/var/spool/mail"
DistroBaker f4f7aa
 #endif
DistroBaker f4f7aa
-#define	_PATH_MOTDFILE		"/usr/share/misc/motd:/run/motd:/etc/motd"
DistroBaker f4f7aa
+#define	_PATH_MOTDFILE		"/usr/share/misc/motd:/run/motd:/run/motd.d:/etc/motd:/etc/motd.d"
DistroBaker f4f7aa
 #ifndef _PATH_NOLOGIN
DistroBaker f4f7aa
 # define _PATH_NOLOGIN		"/etc/nologin"
DistroBaker f4f7aa
 #endif
Karel Zak 991206
-- 
Karel Zak 991206
2.34.1
Karel Zak 991206