From cad35686e893d09a23eb9661fe53f0443eb25c1f Mon Sep 17 00:00:00 2001 From: Svenne Krap Date: Thu, 19 Sep 2013 21:39:09 +0200 Subject: [PATCH] added autostart-all and autostop-all --- autostart-all.sh | 6 ++++++ autostop-all.sh | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100755 autostart-all.sh create mode 100755 autostop-all.sh 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 -- 2.36.1