motd - changes are lost during reboot

Rocco Stanzione grasshopper at linuxkungfu.org
Fri Oct 13 20:37:25 UTC 2006


On Friday 13 October 2006 15:20, Ingo Lantschner wrote:
> Hello,
> a small but anoying problem, which I could not solve yet: Changes in /
> etc/motd are lost during reboot. Why? How can I customize motd?
>
> TIA for any tipps! Ingo.
> --
> Ingo Lantschner
> Vienna/Austria
> Mob (+43-664) 143 84 18

trappist at monk:~$ grep -r motd /etc/init.d
/etc/init.d/bootmisc.sh:        # Update motd
/etc/init.d/bootmisc.sh:        uname -snrvm > /var/run/motd
/etc/init.d/bootmisc.sh:        [ -f /etc/motd.tail ] && cat /etc/motd.tail 
>> /var/run/motd
trappist at monk:~$ ls -l /etc/motd
lrwxrwxrwx 1 root root 13 Sep  6 13:09 /etc/motd -> /var/run/motd




More information about the ubuntu-server mailing list