Package: manpages Version: 2.39-1 Severity: wishlist Tags: patch Dear Joey,
I realised that /etc/motd is just a symlink in Etch. As it seems that /etc/motd or /etc/motd.tail do not belong to any package, I think that the best place for documenting this is the manpage. Here is a patch I am proposing to you for this purpose. Have a nice day, -- Charles Plessy, Wako, Saitama -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: powerpc (ppc64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-powerpc64 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) -- no debconf information
--- motd.5.orig 2007-04-15 08:38:34.000000000 +0900 +++ motd.5 2007-04-15 08:54:23.000000000 +0900 @@ -22,6 +22,7 @@ .\" .\" Modified Sat Jul 24 17:08:16 1993 by Rik Faith <[EMAIL PROTECTED]> .\" Modified Mon Oct 21 17:47:19 EDT 1996 by Eric S. Raymond <[EMAIL PROTECTED]> +.\" Modified Sun Apr 15 08:39:11 Asia/Tokyo 2007 by Charles Plessy <[EMAIL PROTECTED]> .TH MOTD 5 1992-12-29 "Linux" "Linux Programmer's Manual" .SH NAME motd \- message of the day @@ -33,8 +34,25 @@ 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). + +On Debian systems, \fI/etc/motd\fP is a symbolic link to +\fI/var/run/motd\fP, which is built by \fI/etc/init.d/bootmisc.sh\fP +by appending the contents of \fI/etc/motd.tail\fP to a line containing +information about the system. Therefore, permantent changes should be +made in \fI/etc/motd.tail\fP. .SH FILES /etc/motd +.RS 3n +Symbolic link to the system message of the day +.RE +/var/run/motd +.RS 3n +System message of the day file rebuilt at each computer start +.RE +/etc/motd.tail +.RS 3n +Template fo building the system message of the day +.RE .SH "SEE ALSO" .BR login (1), .BR issue (5)