1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/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" RELOAD= [ -n "$SLX_BROWSER_RELOAD_SECS" ] && [ "$SLX_BROWSER_RELOAD_SECS" -gt 0 ] && RELOAD="--reload-interval $SLX_BROWSER_RELOAD_SECS" xdotool mousemove 20000 20000 & exec slxbrowser $SLX_BROWSER_INSECURE $RELOAD --fullscreen "$SLX_BROWSER_URL"