summaryrefslogtreecommitdiffstats
path: root/core/modules/kiosk-slxbrowser/data/opt/openslx/scripts/kiosk-launch.d/00-slxbrowser
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/kiosk-slxbrowser/data/opt/openslx/scripts/kiosk-launch.d/00-slxbrowser')
-rw-r--r--core/modules/kiosk-slxbrowser/data/opt/openslx/scripts/kiosk-launch.d/00-slxbrowser4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/kiosk-slxbrowser/data/opt/openslx/scripts/kiosk-launch.d/00-slxbrowser b/core/modules/kiosk-slxbrowser/data/opt/openslx/scripts/kiosk-launch.d/00-slxbrowser
index 3f81c093..fc8d0eae 100644
--- a/core/modules/kiosk-slxbrowser/data/opt/openslx/scripts/kiosk-launch.d/00-slxbrowser
+++ b/core/modules/kiosk-slxbrowser/data/opt/openslx/scripts/kiosk-launch.d/00-slxbrowser
@@ -26,13 +26,13 @@ if [ -n "$SLX_BROWSER_URLLIST" ]; then
( sleep 5; rm -f -- "$LIST" ) &
fi
-if [ -n "$SLX_BROWSER_INTERACTIVE" ]; then
+if [ -z "${SLX_AUTOLOGIN%OFF}" ]; then
OPTS+=("--maximized")
else
OPTS+=("--fullscreen")
fi
# HACK: give whatever enough time to whatever it does properly
-usleep 500000
+sleep 1
exec slxbrowser "${OPTS[@]}" "$SLX_BROWSER_URL"