Re: motd
On Sun, May 21, 2006 at 01:56:52PM +0200, stentor wrote:
> Witam!
>
> przy kazdorazowym restarcie serwera do pliku motd dopisuje sie
> linijka:
>
> Linux hostname 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 2005 i586 GNU/Linux
>
> a ja nie chce tej linijki w motd.
/etc/init.d$ grep motd *
bootmisc.sh: # Update motd
bootmisc.sh: uname -snrvm > /var/run/motd
bootmisc.sh: [ -f /etc/motd.tail ] && cat /etc/motd.tail >> /var/run/motd
Wystarczy zamienić na:
:echo "" > /etc/motd
Potem można dodać:
:/usr/games/fortune >> /etc/motd
:echo "" >> /etc/motd
--
Pozdrawiam,
Krzysztof Andrelczyk
Reply to:
- References:
- motd
- From: stentor <stentor@spin.amu.edu.pl>