summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-example/afm-client/files/afm-client
diff options
context:
space:
mode:
Diffstat (limited to 'meta-app-framework/recipes-example/afm-client/files/afm-client')
-rw-r--r--meta-app-framework/recipes-example/afm-client/files/afm-client7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-app-framework/recipes-example/afm-client/files/afm-client b/meta-app-framework/recipes-example/afm-client/files/afm-client
new file mode 100644
index 0000000..ba868e9
--- /dev/null
+++ b/meta-app-framework/recipes-example/afm-client/files/afm-client
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ -z "${XDG_RUNTIME_DIR+1}" ]; then
+ export XDG_RUNTIME_DIR=/run/user/$UID
+fi
+LD_PRELOAD=/usr/lib/libEGL.so /usr/bin/web-runtime http://localhost:1236/opa
+