summaryrefslogtreecommitdiffstats
path: root/core/modules/kiosk-chromium
diff options
context:
space:
mode:
authorSimon Rettberg2020-08-11 11:25:43 +0200
committerSimon Rettberg2020-08-11 11:25:43 +0200
commita74ddc686687093a184ba10a83e25490628370a0 (patch)
treeb4006a3e1b5e7d27e7181d1ed09afb1b514278e7 /core/modules/kiosk-chromium
parent[kiosk-chromium] Throttle auto-reloading (diff)
downloadmltk-a74ddc686687093a184ba10a83e25490628370a0.tar.gz
mltk-a74ddc686687093a184ba10a83e25490628370a0.tar.xz
mltk-a74ddc686687093a184ba10a83e25490628370a0.zip
[kiosk-chromium] SLX_BROWSER_RELOAD_SECS == 0 means OFF
Not "reload all the time forever"
Diffstat (limited to 'core/modules/kiosk-chromium')
-rw-r--r--core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium b/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium
index ba10aefa..6165e66c 100644
--- a/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium
+++ b/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium
@@ -97,7 +97,7 @@ if [ -z "$SLX_BROWSER_INTERACTIVE" ]; then
fi
-if [ -n "$SLX_BROWSER_RELOAD_SECS" ]; then
+if [ -n "$SLX_BROWSER_RELOAD_SECS" ] && [ "$SLX_BROWSER_RELOAD_SECS" -gt 0 ]; then
(
wid=
wpid=