Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yboetz/motd
Collection of 'message of the day' scripts
https://github.com/yboetz/motd
Last synced: 6 days ago
JSON representation
Collection of 'message of the day' scripts
- Host: GitHub
- URL: https://github.com/yboetz/motd
- Owner: yboetz
- Created: 2018-09-14T19:34:42.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-23T19:23:55.000Z (6 months ago)
- Last Synced: 2024-08-01T13:38:36.451Z (3 months ago)
- Language: Shell
- Size: 26.4 KB
- Stars: 864
- Watchers: 23
- Forks: 102
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Message of the Day
Collection of my 'Message of the Day' scripts.
![motd](motd.png)
### Requirements
* [update-motd](https://launchpad.net/update-motd)
* [figlet](http://www.figlet.org/) & [lolcat](https://github.com/busyloop/lolcat) (for `10-display-name`)
* [hddtemp](https://savannah.nongnu.org/projects/hddtemp/) (for `36-diskstatus`)### How do I set it up?
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.