diff options
4 files changed, 15 insertions, 0 deletions
diff --git a/core/modules/remote-access/data/opt/openslx/system-check/hooks.d/50-remote-access b/core/modules/remote-access/data/opt/openslx/system-check/hooks.d/50-remote-access new file mode 100755 index 00000000..7351db71 --- /dev/null +++ b/core/modules/remote-access/data/opt/openslx/system-check/hooks.d/50-remote-access @@ -0,0 +1,12 @@ +#!/bin/ash +# This file is executed in /opt/openslx/scripts/systemd-generate_warnings +# If a first parameter is given, we write to that file instead of stdout. + +. /opt/openslx/config +[ -n "$SLX_REMOTE_VNC" ] || exit 0 # Nothing to do + +if [ -n "$1" ]; then + exec >> "$1" +fi + +echo 'slx-remote-access' diff --git a/core/modules/remote-access/data/opt/openslx/system-check/lang/de/slx-remote-access b/core/modules/remote-access/data/opt/openslx/system-check/lang/de/slx-remote-access new file mode 100644 index 00000000..79c6f4d8 --- /dev/null +++ b/core/modules/remote-access/data/opt/openslx/system-check/lang/de/slx-remote-access @@ -0,0 +1 @@ +Der Rechner befindet sich im Fernzugriff. Lokale Nutzung nicht möglich. diff --git a/core/modules/remote-access/data/opt/openslx/system-check/lang/en/slx-remote-access b/core/modules/remote-access/data/opt/openslx/system-check/lang/en/slx-remote-access new file mode 100644 index 00000000..af16c1c8 --- /dev/null +++ b/core/modules/remote-access/data/opt/openslx/system-check/lang/en/slx-remote-access @@ -0,0 +1 @@ +This computer is set up for remote access. Local use not possible. diff --git a/core/modules/remote-access/data/opt/openslx/system-check/tags/slx-remote-access b/core/modules/remote-access/data/opt/openslx/system-check/tags/slx-remote-access new file mode 100644 index 00000000..d3ed38eb --- /dev/null +++ b/core/modules/remote-access/data/opt/openslx/system-check/tags/slx-remote-access @@ -0,0 +1 @@ +color="000000" |