summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1997-02-13 18:03:23 +0000
committermpp <mpp@FreeBSD.org>1997-02-13 18:03:23 +0000
commitdeedd1a7686cac10c7f7e55c95b947fb5ddc04a2 (patch)
treede55487fdea834559dfb417beaa47e76f55ebd36
parent84b25955088dee4ea79e0a1c288b904a1d3d2a6b (diff)
downloadFreeBSD-src-deedd1a7686cac10c7f7e55c95b947fb5ddc04a2.zip
FreeBSD-src-deedd1a7686cac10c7f7e55c95b947fb5ddc04a2.tar.gz
Add motd(5).
Obtained from: NetBSD
-rw-r--r--share/man/man5/Makefile4
-rw-r--r--share/man/man5/motd.540
2 files changed, 42 insertions, 2 deletions
diff --git a/share/man/man5/Makefile b/share/man/man5/Makefile
index 3180059..f7eefbc 100644
--- a/share/man/man5/Makefile
+++ b/share/man/man5/Makefile
@@ -2,8 +2,8 @@
#MISSING: dump.5 plot.5
MAN5= a.out.5 acct.5 core.5 devfs.5 dir.5 disktab.5 ethers.5 fs.5 fbtab.5 \
- fdesc.5 forward.5 fstab.5 group.5 hosts.5 link.5 kernfs.5 networks.5 \
- passwd.5 pbm.5 phones.5 \
+ fdesc.5 forward.5 fstab.5 group.5 hosts.5 link.5 kernfs.5 motd.5 \
+ networks.5 passwd.5 pbm.5 phones.5 \
printcap.5 procfs.5 protocols.5 remote.5 resolver.5 services.5 \
shells.5 stab.5 sysconfig.5 types.5 utmp.5 hosts.equiv.5 hosts.lpd.5
MLINKS= fs.5 inode.5 utmp.5 wtmp.5 utmp.5 lastlog.5 dir.5 dirent.5 \
diff --git a/share/man/man5/motd.5 b/share/man/man5/motd.5
new file mode 100644
index 0000000..afada8e
--- /dev/null
+++ b/share/man/man5/motd.5
@@ -0,0 +1,40 @@
+.\" $NetBSD: motd.5,v 1.2 1994/12/28 18:58:53 glass Exp $
+.\"
+.\" This file is in the public domain.
+.\"
+.Dd February 13, 1997
+.Dt MOTD 5
+.Os
+.Sh NAME
+.Nm motd
+.Nd file containing message(s) of the day
+.Sh DESCRIPTION
+The file
+.Pa /etc/motd
+is normally displayed by
+.Xr login 1
+after a user has logged in but before the shell is run.
+It is generally used for important system-wide announcements.
+During system startup, a line containing the kernel version string is
+prepended to this file.
+.Pp
+Individual users may suppress the display of this file by
+creating a file named
+.Dq Pa .hushlogin
+in their home directories.
+.Sh FILES
+.Bl -tag -width $HOME/.hushlogin -compact
+.It Pa /etc/motd
+The message of the day.
+.It Pa $HOME/.hushlogin
+Suppresses output of
+.Pa /etc/motd .
+.El
+.Sh EXAMPLES
+.Bd -literal
+FreeBSD 2.1.6.1-RELEASE (GENERIC) #0: Sun Dec 29 03:08:31 PST 1996
+
+/home is full. Please cleanup your directories.
+.Ed
+.Sh SEE ALSO
+.Xr login 1
OpenPOWER on IntegriCloud