Re: motd

Static (static@neuromancer.ultranet.com)
Thu, 6 Jul 1995 23:20:54 -0400 (EDT)


> Does anybody know how to stop the kernel writing a new version of the 'motd' file
> in the /etc directory. It's nice to be able to have a 'permanent' message of the day!.
>
> At the moment every time the computer is rebooted it re-writes this file. Other U*nx's
> don't do this , why Linux??

The system writes this file upon bootup... It is not related to the
kernel, just your init files... Comment out these lines in rc.S

Setup the /etc/issue and /etc/motd to reflect the current kernel level:
echo "`/bin/uname -a | /bin/cut -d\ -f1,3`. (POSIX)." > /etc/motd