|
|
před 5 roky | |
|---|---|---|
| .gitattributes | před 7 roky | |
| 10-hostname | před 7 roky | |
| 10-hostname-color | před 7 roky | |
| 20-sysinfo | před 7 roky | |
| 20-uptime | před 7 roky | |
| 30-zpool-bar | před 7 roky | |
| 30-zpool-simple | před 7 roky | |
| 35-diskspace | před 6 roky | |
| 36-diskstatus | před 5 roky | |
| 40-services | před 7 roky | |
| 50-fail2ban | před 5 roky | |
| 50-fail2ban-status | před 7 roky | |
| 60-docker | před 6 roky | |
| 60-lxd | před 7 roky | |
| README.md | před 6 roky | |
| motd.png | před 7 roky |
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.