summaryrefslogtreecommitdiffstats
path: root/core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch
blob: e7441feeea5e346e9a2bdd2100ce4e7e1f496198 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/ash

. /opt/openslx/config

[ -z "$SLX_BROWSER_URL" ] && exit 1

xset s off
xset -dpms

openbox &

[ -n "$SLX_BROWSER_INSECURE" ] && SLX_BROWSER_INSECURE="--insecure"

exec slxbrowser $SLX_BROWSER_INSECURE --fullscreen "$SLX_BROWSER_URL"