diff options
author | Simon Rettberg | 2017-11-14 12:05:09 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-11-14 12:05:09 +0100 |
commit | 861f9615bdfc99c72c8dc2a902366668fa45de9a (patch) | |
tree | 6863a6145a9b4b4d616c72bd5d08783ce21059eb /core | |
parent | [rfs-s32] new path for xtables modules (diff) | |
download | mltk-861f9615bdfc99c72c8dc2a902366668fa45de9a.tar.gz mltk-861f9615bdfc99c72c8dc2a902366668fa45de9a.tar.xz mltk-861f9615bdfc99c72c8dc2a902366668fa45de9a.zip |
[slxbrowser] Honor SLX_BROWSER_INSECURE config option
Diffstat (limited to 'core')
-rwxr-xr-x | core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch | 4 |
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" |