|
|
vor 5 Jahren | |
|---|---|---|
| .gitattributes | vor 7 Jahren | |
| 10-hostname | vor 7 Jahren | |
| 10-hostname-color | vor 7 Jahren | |
| 20-sysinfo | vor 7 Jahren | |
| 20-uptime | vor 7 Jahren | |
| 30-zpool-bar | vor 7 Jahren | |
| 30-zpool-simple | vor 7 Jahren | |
| 35-diskspace | vor 6 Jahren | |
| 36-diskstatus | vor 5 Jahren | |
| 40-services | vor 7 Jahren | |
| 50-fail2ban | vor 5 Jahren | |
| 50-fail2ban-status | vor 7 Jahren | |
| 60-docker | vor 6 Jahren | |
| 60-lxd | vor 7 Jahren | |
| README.md | vor 6 Jahren | |
| motd.png | vor 7 Jahren |
Collection of my 'Message of the Day' scripts.
10-display-name)36-diskstatus)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.