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

Re: uname -a on /etc/motd



> 
> On Sun, 13 Jul 1997 18:22:23 EDT Randy Edwards (redwards@together.net)
>  wrote:
> 
> >    Could someone tell me what process is putting what appears to be the
> > output of a "uname -a" at the top of /etc/motd?
> > 
> >    I delete that regularly since IMHO it doesn't look very pretty, but try
> > as I might, Linux seems to have more patience at putting it there then I do
> > at removing it. :-)
> 
> Set EDITMOTD=false in /etc/init.d/boot

Better make that EDITMOTD=no


from /etc/init.d/boot:

if [ "$EDITMOTD" != no ]
then
        uname -a > /tmp/motd
        sed 1d /etc/motd >> /tmp/motd
        mv /tmp/motd /etc/motd
fi

-- 
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: