Add switch on/off script for cluster demo
[AGL/meta-agl-demo.git] / recipes-demo-hmi / navigation / mapviewer-demo / switch_on_mapviewer-demo.sh
diff --git a/recipes-demo-hmi/navigation/mapviewer-demo/switch_on_mapviewer-demo.sh b/recipes-demo-hmi/navigation/mapviewer-demo/switch_on_mapviewer-demo.sh
new file mode 100755 (executable)
index 0000000..f61cdc7
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+/bin/systemctl disable weston.service
+/bin/systemctl enable weston-mapviewer-demo.service
+/bin/systemctl enable mapviewer.service
+