some markup and install methods minor fixes

master
czoczo 7 years ago
parent a422ef4e27
commit 14241504eb
  1. 22
      README.md

@ -4,15 +4,19 @@ Description? Pictures say more than words!
![alt text](https://cz0.cz/static/untracked/images/bm_demo.png "Example of BetterMOTD at work")
## quick install:
```
https://cz0.cz/git/czoczo/BetterMOTD.git
wget https://cz0.cz/git/czoczo/BetterMOTD/raw/branch/master/bmotd.sh
chmod +x ./bmotd.sh
```
## usage:
or
```
./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
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

Loading…
Cancel
Save