Open /etc/init.d/bootmisc.sh
Find this section:
# Update motd
uname -snrvm > /var/run/motd
[ -f /etc/motd.tail ] && cat /etc/motd.tail >> /var/run/motd
Make it look like this: (comment out the uname line):
# Update motd
# uname -snrvm > /var/run/motd
[ -f /etc/motd.tail ] && cat /etc/motd.tail >> /var/run/motd
Then edit /etc/motd.tail and put into it whatever you want your MOTD to be.
No comments:
Post a Comment