• Stars
    star
    817
  • Rank 53,982 (Top 2 %)
  • Language
    Shell
  • Created over 5 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Collection of 'message of the day' scripts

Message of the Day

Collection of my 'Message of the Day' scripts.

motd

Requirements

How do I set it up?

Copy the files you want in your MOTD to /etc/update-motd.d/. Make sure you have the PrintMotd option set to yes in your sshd config.

The duplicate files are different versions of the same, use either one of them. E.g. 30-zpool-simple will not print usage bars.

The script 36-smartd greps syslog for smartd entries to read temperature and last self-test result. You have to enable smartd monitoring & run regular self-tests for it to display anything.

If you use 50-fail2ban you should comment out the compress option in /etc/logrotate.d/fail2ban, s.t. the logs are not compressed and can be grepped.