blob: 68db849528cb9d4ef361c020cad2a1e79e62b75d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
|