Blame SOURCES/pam-1.3.1-motd-manpage.patch

43d219
diff -up Linux-PAM-1.3.1/modules/pam_motd/pam_motd.8.xml.motd-manpage Linux-PAM-1.3.1/modules/pam_motd/pam_motd.8.xml
43d219
--- Linux-PAM-1.3.1/modules/pam_motd/pam_motd.8.xml.motd-manpage	2018-05-18 11:50:46.000000000 +0200
43d219
+++ Linux-PAM-1.3.1/modules/pam_motd/pam_motd.8.xml	2019-12-19 10:29:36.243558251 +0100
43d219
@@ -31,10 +31,19 @@
43d219
     <para>
43d219
       pam_motd is a PAM module that can be used to display
43d219
       arbitrary motd (message of the day) files after a successful
43d219
-      login. By default the <filename>/etc/motd</filename> file is
43d219
+      login. By default the <filename>/etc/motd</filename> file and
43d219
+      all files from <filename>/etc/motd.d</filename> are
43d219
       shown. The message size is limited to 64KB.
43d219
     </para>
43d219
-
43d219
+    <para>
43d219
+      To silence a message,
43d219
+      a symbolic link with target <filename>/dev/null</filename>
43d219
+      may be placed in <filename>/etc/motd.d</filename> with
43d219
+      the same filename as the message to be silenced. Example:
43d219
+    </para>
43d219
+    <para>
43d219
+      <command>ln -sfn /dev/null /etc/motd.d/my_motd</command>
43d219
+    </para>
43d219
   </refsect1>
43d219
 
43d219
   <refsect1 id="pam_motd-options">