|
|
преди 7 години | |
|---|---|---|
| .gitattributes | преди 7 години | |
| 10-display-name | преди 7 години | |
| 10-display-name-color | преди 7 години | |
| 20-sysinfo | преди 7 години | |
| 20-uptime | преди 7 години | |
| 30-zpool-bar | преди 7 години | |
| 30-zpool-simple | преди 7 години | |
| 34-smartd | преди 7 години | |
| 35-diskspace | преди 7 години | |
| 40-services | преди 7 години | |
| 50-fail2ban | преди 7 години | |
| 50-fail2ban-status | преди 7 години | |
| 60-docker | преди 7 години | |
| 60-lxd | преди 7 години | |
| README.md | преди 7 години | |
| motd.png | преди 7 години |
Collection of my 'Message of the Day' scripts.
10-display-name)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.