summaryrefslogtreecommitdiffstats
path: root/core/modules/kiosk-slxbrowser
diff options
context:
space:
mode:
authorSimon Rettberg2024-01-03 16:05:11 +0100
committerSimon Rettberg2024-01-03 16:05:11 +0100
commit1525f5673e6c6d33cc4e460d1470f93fda63ec5d (patch)
treefc7cabd3779b54125702d4d4d4f20ace1a16455d /core/modules/kiosk-slxbrowser
parent[firefox] Delete unused module (diff)
downloadmltk-1525f5673e6c6d33cc4e460d1470f93fda63ec5d.tar.gz
mltk-1525f5673e6c6d33cc4e460d1470f93fda63ec5d.tar.xz
mltk-1525f5673e6c6d33cc4e460d1470f93fda63ec5d.zip
[kiosk-chromium/kiosk-slxbrowser] Remove legacy, unused variables
Diffstat (limited to 'core/modules/kiosk-slxbrowser')
-rw-r--r--core/modules/kiosk-slxbrowser/data/opt/openslx/scripts/kiosk-launch.d/00-slxbrowser9
1 files changed, 0 insertions, 9 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 4ec49eca..ea9d2e4c 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
@@ -9,15 +9,6 @@ OPTS=()
[ -n "$SLX_BROWSER_INSECURE" ] && [ "$SLX_BROWSER_INSECURE" -gt 0 ] && OPTS+=("--insecure")
# On inactivity, reload every X seconds
[ -n "$SLX_BROWSER_RELOAD_SECS" ] && [ "$SLX_BROWSER_RELOAD_SECS" -gt 0 ] && OPTS+=("--reload-interval" "$SLX_BROWSER_RELOAD_SECS")
-# If we have no black- or whitelist, see if the legacy vars exist
-if [ -z "$SLX_BROWSER_BLACKLIST" ] && [ -z "$SLX_BROWSER_WHITELIST" ] && [ -n "$SLX_BROWSER_URLLIST" ]; then
- # If set, is a space separated list of URLs or hosts
- if [ "$SLX_BROWSER_IS_WHITELIST" -gt 0 ]; then
- SLX_BROWSER_WHITELIST="$SLX_BROWSER_URLLIST"
- else
- SLX_BROWSER_BLACKLIST="$SLX_BROWSER_URLLIST"
- fi
-fi
if [ -n "$SLX_BROWSER_BLACKLIST" ]; then
# Turn into file with one entry per line