Re: editing /etc/motd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 24, 2004 at 06:13:46PM +1100, Ben Stringer wrote:
> > I'm trying to edit /etc/motd to include various things, say like kernel
> > version. Adding a line like `uname -r` doesn't work, it simply echoes
> > that instead of executing the command. Any way I can actually accomplish
> > this?
> I'd suggest adding some code to /etc/rc.local to write what you want. As

Or, go a different route: instead of editing motd, put a little script in
/etc/profile.d that prints what you want.

-- 
Matthew Miller           mattdm@xxxxxxxxxx        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux