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