mirror of
https://gitlab.com/manzerbredes/ina260-zmq-publisher.git
synced 2025-04-10 16:30:26 +00:00
Add clusterman plugin
This commit is contained in:
parent
6d3e13df8e
commit
d9141f3d70
1 changed files with 14 additions and 0 deletions
14
.clusterman.sh
Executable file
14
.clusterman.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Check parameters
|
||||
[ $# -ne 3 ] && { echo "Usage: $0 <key> <from> <to>"; exit 1; }
|
||||
|
||||
# Load parameters
|
||||
key=$1
|
||||
from=$2
|
||||
to=$3
|
||||
|
||||
# Load configuration
|
||||
wai=$(dirname $(readlink -f "$0")) # Current script directory
|
||||
source ${wai}/config.mk
|
||||
|
Loading…
Add table
Reference in a new issue