diff options
author | Simon Rettberg | 2018-01-15 12:11:33 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-01-15 12:11:33 +0100 |
commit | 3c197f975452d1a80e371ea43a6da02f0c5c428d (patch) | |
tree | 20b5d815e59dc98d79d29a318aecdbebdb6363b2 /core/modules/slxbrowser | |
parent | kernel.wanted.config: Enable SMB2/3 and cifs upcall (diff) | |
download | mltk-3c197f975452d1a80e371ea43a6da02f0c5c428d.tar.gz mltk-3c197f975452d1a80e371ea43a6da02f0c5c428d.tar.xz mltk-3c197f975452d1a80e371ea43a6da02f0c5c428d.zip |
[slxbrowser] Support --reload-interval via SLX_RELOAD_INTERVAL_SECS
Closes #3283
Diffstat (limited to 'core/modules/slxbrowser')
-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 2550bf63..566bbb16 100755 --- a/core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch +++ b/core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch @@ -10,7 +10,9 @@ 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 --fullscreen "$SLX_BROWSER_URL" +exec slxbrowser $SLX_BROWSER_INSECURE $RELOAD --fullscreen "$SLX_BROWSER_URL" |