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

Re: editing /etc/motd



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 mattdm org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>




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