added autostart-all and autostop-all master
authorSvenne Krap <svenne@krap.dk>
Thu, 19 Sep 2013 19:39:09 +0000 (21:39 +0200)
committerSvenne Krap <svenne@krap.dk>
Thu, 19 Sep 2013 19:39:09 +0000 (21:39 +0200)
autostart-all.sh [new file with mode: 0755]
autostop-all.sh [new file with mode: 0755]

diff --git a/autostart-all.sh b/autostart-all.sh
new file mode 100755 (executable)
index 0000000..6eb4a2e
--- /dev/null
@@ -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 (executable)
index 0000000..77f2b12
--- /dev/null
@@ -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