summaryrefslogtreecommitdiffstats
path: root/core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch')
-rwxr-xr-xcore/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch b/core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch
index ed8a205f..e7441fee 100755
--- a/core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch
+++ b/core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch
@@ -9,5 +9,7 @@ xset -dpms
openbox &
-exec slxbrowser --insecure --fullscreen "$SLX_BROWSER_URL"
+[ -n "$SLX_BROWSER_INSECURE" ] && SLX_BROWSER_INSECURE="--insecure"
+
+exec slxbrowser $SLX_BROWSER_INSECURE --fullscreen "$SLX_BROWSER_URL"