summaryrefslogtreecommitdiffstats
path: root/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh')
-rw-r--r--recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh b/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh
new file mode 100644
index 000000000..ed8a56144
--- /dev/null
+++ b/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if test -z "$XDG_RUNTIME_DIR"; then
+ export XDG_RUNTIME_DIR=/run/user/$UID
+ mkdir --parents $XDG_RUNTIME_DIR
+ chmod 0700 $XDG_RUNTIME_DIR
+fi
+
+/usr/bin/openivi-html5 -f -u /usr/share/openivi/example/cluster/index.html