|
|
|
|
@ -4,15 +4,19 @@ Description? Pictures say more than words! |
|
|
|
|
 |
|
|
|
|
## 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 |
|
|
|
|
|