Browse Source

Added mkr-update

pull/1/head
Muthu Kumar 7 years ago
parent
commit
b96d157dc2
  1. 2
      scripts/README.md
  2. 8
      scripts/mkr.sh

2
scripts/README.md

@ -15,7 +15,7 @@ echo "source ~/.mkr/mkr.sh" >> ~/.bashrc
echo "source ~/.mkr/mkr.sh" >> ~/.zshrc echo "source ~/.mkr/mkr.sh" >> ~/.zshrc
# updating script # updating script
curl https://raw.githubusercontent.com/MKRhere/wiki/master/scripts/mkr.sh -o ~/.mkr/mkr.sh mkr-update
``` ```
## Commands ## Commands

8
scripts/mkr.sh

@ -87,3 +87,11 @@ start () {
stop () { stop () {
sudo systemctl stop "$1" sudo systemctl stop "$1"
} }
# MISC
## mkr-update
## Usage: mkr-update
mkr-update () {
curl https://raw.githubusercontent.com/MKRhere/wiki/master/scripts/mkr.sh -o ~/.mkr/mkr.sh
}
Loading…
Cancel
Save