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

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