From 14241504ebc42902fa891a52083d1d48a252d721 Mon Sep 17 00:00:00 2001 From: czoczo Date: Fri, 21 Dec 2018 08:22:01 +0100 Subject: [PATCH] some markup and install methods minor fixes --- README.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 73d0f3d..02731dc 100644 --- a/README.md +++ b/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