diff options
Diffstat (limited to 'core/modules/kiosk-slxbrowser')
3 files changed, 30 insertions, 0 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 new file mode 100644 index 00000000..5a9196c4 --- /dev/null +++ b/core/modules/kiosk-slxbrowser/data/opt/openslx/scripts/kiosk-launch.d/00-slxbrowser @@ -0,0 +1,10 @@ +#!/bin/ash +# ^ sourced! + +export PATH=$PATH:/opt/openslx/sbin:/opt/openslx/bin + +[ -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" + +exec slxbrowser $SLX_BROWSER_INSECURE $RELOAD --fullscreen "$SLX_BROWSER_URL" diff --git a/core/modules/kiosk-slxbrowser/module.build b/core/modules/kiosk-slxbrowser/module.build new file mode 100644 index 00000000..a5cbb6b6 --- /dev/null +++ b/core/modules/kiosk-slxbrowser/module.build @@ -0,0 +1,12 @@ +#!/bin/bash +fetch_source() { + : +} + +build() { + : +} + +post_copy() { + : +} diff --git a/core/modules/kiosk-slxbrowser/module.conf b/core/modules/kiosk-slxbrowser/module.conf new file mode 100644 index 00000000..c90b91dd --- /dev/null +++ b/core/modules/kiosk-slxbrowser/module.conf @@ -0,0 +1,8 @@ +#!/bin/bash +REQUIRED_MODULES=" + kiosk-common + slxbrowser +" +REQUIRED_BINARIES="" +REQUIRED_LIBRARIES="" +REQUIRED_DIRECTORIES="" |