ceph/src/mrun

12 lines
188 B
Plaintext
Raw Normal View History

#!/bin/sh
[ $# -lt 2 ] && echo "usage: $0 <name> <command> [params...]" && exit 1
root=`dirname $0`
run_name=$1
command=$2
shift 2
$root/$command -c $root/run/$run_name/ceph.conf "$@"