diff options
author | Simon Rettberg | 2024-10-31 17:34:23 +0100 |
---|---|---|
committer | Simon Rettberg | 2024-10-31 17:34:23 +0100 |
commit | 46a4d9b94f51c4f8fbf1b853470e8b68b09b32ee (patch) | |
tree | a857369027bea9905249179351b586e3411d8a46 | |
parent | [run-virt] dnsmasq: fix interface listen, log to file (diff) | |
download | mltk-46a4d9b94f51c4f8fbf1b853470e8b68b09b32ee.tar.gz mltk-46a4d9b94f51c4f8fbf1b853470e8b68b09b32ee.tar.xz mltk-46a4d9b94f51c4f8fbf1b853470e8b68b09b32ee.zip |
[remote-access] Add another hint regarding remote access to lightdm
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" |