summaryrefslogtreecommitdiffstats
path: root/core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch
diff options
context:
space:
mode:
authorSimon Rettberg2017-07-12 18:35:23 +0200
committerroot2017-07-12 18:35:23 +0200
commite5648893b5a71955c3adaefe6765cd897d6511fb (patch)
treed19926d261ed26a3b29e6e8695b34ae0df423d7b /core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch
parent[*] systemd fixes cont. (diff)
downloadmltk-e5648893b5a71955c3adaefe6765cd897d6511fb.tar.gz
mltk-e5648893b5a71955c3adaefe6765cd897d6511fb.tar.xz
mltk-e5648893b5a71955c3adaefe6765cd897d6511fb.zip
[slxbrowser] Add kiosk mode scripts/service/target
Diffstat (limited to 'core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch')
-rwxr-xr-xcore/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch b/core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch
new file mode 100755
index 00000000..ed8a205f
--- /dev/null
+++ b/core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch
@@ -0,0 +1,13 @@
+#!/bin/ash
+
+. /opt/openslx/config
+
+[ -z "$SLX_BROWSER_URL" ] && exit 1
+
+xset s off
+xset -dpms
+
+openbox &
+
+exec slxbrowser --insecure --fullscreen "$SLX_BROWSER_URL"
+