demo: Fix demo script to reorder apps
[glsdk/util-scripts.git] / demo / cockpit-demo-cluster-VM.sh
index 419d27cf701f0d6b19e60af6baf83f0285c359a0..c33f3d821b2acb17793632438b12fe8e1d1bf2d3 100755 (executable)
@@ -8,13 +8,20 @@ monitor_ivi_vm() {
 }
 
 
+launch_cluster() {
+       pkill matrix
+       pkill weston
+       sleep 2
+       cluster -d /dev/dri/card0 </dev/null
+}
 ####### Start here
 ##################
 
-/usr/share/jailhouse/linux-demo.sh
+launch_cluster 2>/dev/null  1>&2 &
 
-cluster -d /dev/dri/card0 </dev/null 2>/dev/null  1>&2 &
+/usr/share/ti/util-scripts/demo/jailhouse-launch-VM.sh
 
 monitor_ivi_vm 2>/dev/null  1>&2 &
 
 /usr/share/ti/util-scripts/demo/crash-VM.sh 2>/dev/null  1>&2 &
+