git.svenne.dk
/
public
/
kvm-scripts.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added autostart-all and autostop-all
[public/kvm-scripts.git]
/
run.sh
1
#!/bin/bash
2
if [ $# -lt 1 ] ; then
3
echo "$0 <machine-conf>"
4
exit
5
fi
6
if [ ! -f $1 ] ; then
7
echo "<machine conf> does not exists at $1";
8
exit
9
fi
10
. $1
11
shift
12
. _run/${TYPE}.sh