summaryrefslogtreecommitdiffstats
path: root/debian/patches/0007-motd.5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0007-motd.5.patch')
-rw-r--r--debian/patches/0007-motd.5.patch17
1 files changed, 5 insertions, 12 deletions
diff --git a/debian/patches/0007-motd.5.patch b/debian/patches/0007-motd.5.patch
index 90a7dc6..e1e7ee4 100644
--- a/debian/patches/0007-motd.5.patch
+++ b/debian/patches/0007-motd.5.patch
@@ -6,34 +6,27 @@ Subject: motd.5
man5/motd.5 | 12 ++++++++++++
1 file changed, 12 insertions(+)
-diff --git a/man5/motd.5 b/man5/motd.5
-index b506c95..f4c4748 100644
--- a/man5/motd.5
+++ b/man5/motd.5
-@@ -12,14 +12,26 @@ motd \- message of the day
+@@ -12,12 +12,20 @@
The contents of
.I /etc/motd
are displayed by
+-.BR login (1)
+.\" Patched in Debian, maybe other distribs
+.BR pam_motd (8)
+.\" End of patch
+.\" .BR login (1)
- .BR login (1)
after a successful login but just before it executes the login shell.
- .PP
+ .P
The abbreviation "motd" stands for "message of the day", and this file
has been traditionally used for exactly that (it requires much less disk
space than mail to all users).
-+.PP
++.P
+On Debian GNU/Linux, dynamic content configured at
+.I /etc/pam.d/login
+is also displayed by
-+.IR pam_exec .
++.I pam_exec
.SH FILES
.I /etc/motd
-+.br
-+.I /etc/pam.d/login
.SH SEE ALSO
- .BR login (1),
- .BR issue (5)
-+.BR pam_motd (8)