|
|
пре 5 година | |
|---|---|---|
| .gitattributes | пре 7 година | |
| 10-hostname | пре 7 година | |
| 10-hostname-color | пре 7 година | |
| 20-sysinfo | пре 5 година | |
| 20-uptime | пре 7 година | |
| 30-zpool-bar | пре 7 година | |
| 30-zpool-simple | пре 7 година | |
| 35-diskspace | пре 6 година | |
| 36-diskstatus | пре 5 година | |
| 40-services | пре 7 година | |
| 50-fail2ban | пре 5 година | |
| 50-fail2ban-status | пре 7 година | |
| 60-docker | пре 6 година | |
| 60-lxd | пре 7 година | |
| README.md | пре 6 година | |
| motd.png | пре 7 година |
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.