Sen descrición

Yannick Boetzel ef34bd6a62 Moved smartd file. %!s(int64=7) %!d(string=hai) anos
.gitattributes 8d505f5e4d Added picture. %!s(int64=7) %!d(string=hai) anos
10-display-name 5ee8990c59 Remove specific paths %!s(int64=7) %!d(string=hai) anos
10-display-name-color 5ee8990c59 Remove specific paths %!s(int64=7) %!d(string=hai) anos
20-sysinfo 735afcf781 Cleanup. Added core count. %!s(int64=7) %!d(string=hai) anos
20-uptime 5ee8990c59 Remove specific paths %!s(int64=7) %!d(string=hai) anos
30-zpool-bar 5584b4e0f7 Fixed spacing. %!s(int64=7) %!d(string=hai) anos
30-zpool-simple b6fb216d6b Initial commit. %!s(int64=7) %!d(string=hai) anos
35-diskspace 5584b4e0f7 Fixed spacing. %!s(int64=7) %!d(string=hai) anos
36-smartd ef34bd6a62 Moved smartd file. %!s(int64=7) %!d(string=hai) anos
40-services 530925121c Changed permissions. %!s(int64=7) %!d(string=hai) anos
50-fail2ban 44d917fdcd Renamed files and cleanup. %!s(int64=7) %!d(string=hai) anos
50-fail2ban-status ad06a51ffd Added comments. %!s(int64=7) %!d(string=hai) anos
60-docker 63253c6186 Added docker status script. %!s(int64=7) %!d(string=hai) anos
60-lxd 530925121c Changed permissions. %!s(int64=7) %!d(string=hai) anos
README.md dad9f036d1 Updated readme. %!s(int64=7) %!d(string=hai) anos
motd.png 8d505f5e4d Added picture. %!s(int64=7) %!d(string=hai) anos

README.md

Message of the Day

Collection of my 'Message of the Day' scripts.

motd

Requirements

  • update-motd
  • figlet & lolcat (for 10-display-name)

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.

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.