diff options
author | Simon Rettberg | 2017-07-12 18:35:23 +0200 |
---|---|---|
committer | root | 2017-07-12 18:35:23 +0200 |
commit | e5648893b5a71955c3adaefe6765cd897d6511fb (patch) | |
tree | d19926d261ed26a3b29e6e8695b34ae0df423d7b /core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch | |
parent | [*] systemd fixes cont. (diff) | |
download | mltk-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-x | core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch | 13 |
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" + |