From: Svenne Krap Date: Thu, 19 Sep 2013 19:39:09 +0000 (+0200) Subject: added autostart-all and autostop-all X-Git-Url: https://git.svenne.dk/?a=commitdiff_plain;h=cad35686e893d09a23eb9661fe53f0443eb25c1f;p=public%2Fkvm-scripts.git added autostart-all and autostop-all --- diff --git a/autostart-all.sh b/autostart-all.sh new file mode 100755 index 0000000..6eb4a2e --- /dev/null +++ b/autostart-all.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +#run this script at startup fx. in rc.local + +cd $(dirname $0) +for x in *.vm ; do ./autostart.sh $x ; done diff --git a/autostop-all.sh b/autostop-all.sh new file mode 100755 index 0000000..77f2b12 --- /dev/null +++ b/autostop-all.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +# run this script at vm-host stop + +cd $(dirname $0) +for x in *.vm ; do ./stop.sh $x ; done