You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
727 B

# BetterMOTD
Description? Pictures say more than words!
## screenshot:
![alt text](https://cz0.cz/static/untracked/images/bm_demo.png "Example of BetterMOTD at work")
## quick install:
```
wget https://cz0.cz/git/czoczo/BetterMOTD/raw/branch/master/bmotd.sh
chmod +x ./bmotd.sh
```
or
```
git clone https://cz0.cz/git/czoczo/BetterMOTD.git
chmod +x ./BetterMOTD/bmotd.sh
```
## usage:
`./bmotd.sh`
`Use: ./bmotd.sh [ test | update | enable | disable ]`
` `
` test - Print generated motd to standard output. Use for preview.`
` update - Update /etc/motd file`
` enable - Places ./bmotd.sh in /etc and adds cron entry for script to run every minute`
` disable - Removes cron entry and disables refreshes of /etc/motd`