summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Ritter2024-01-22 14:52:53 +0100
committerSteffen Ritter2024-01-22 14:52:53 +0100
commit5ee769b06c9e80863b34168ec96adfdacbde6f94 (patch)
tree999a8035c2615b6b2f030b62a1a0506a75e25041
parent[vmware-common] Improve handling of syntax errors in vmx (diff)
downloadmltk-5ee769b06c9e80863b34168ec96adfdacbde6f94.tar.gz
mltk-5ee769b06c9e80863b34168ec96adfdacbde6f94.tar.xz
mltk-5ee769b06c9e80863b34168ec96adfdacbde6f94.zip
[debug-report-bwlp] Include special bwlp log directory
Sometimes we need more debug output, so we extend our scripts with additional logging information. But where to store such logs without always overwriting 'debug_report' binary or hacking log file names to somethin we already include? So we include a special '/tmp/bwlp_debug_logs' directory where we could store and report e.g. 'set -x' output from our scripts.
-rwxr-xr-xcore/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report1
-rwxr-xr-xcore/modules/safe-mode/data/opt/openslx/scripts/systemd-safe_mode2
2 files changed, 2 insertions, 1 deletions
diff --git a/core/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report b/core/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report
index 27156f7e..4f676f5c 100755
--- a/core/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report
+++ b/core/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report
@@ -136,6 +136,7 @@ cp -r /var/log/Xorg.0.lo* \
cp /proc/{cpu,mem}info /proc/{mtrr,interrupts} /proc/driver/nvidia/{params,registry} static/proc/ 2> /dev/null
cp /run/openslx/*log* /run/openslx/dmsetup.state static/ 2> /dev/null
cp -r /opt/openslx/.mltk static/ 2> /dev/null
+cp -r /tmp/bwlp_debug_logs static/ 2> /dev/null
echo -n "."
for tool in "${TOOLS[@]}"; do
diff --git a/core/modules/safe-mode/data/opt/openslx/scripts/systemd-safe_mode b/core/modules/safe-mode/data/opt/openslx/scripts/systemd-safe_mode
index f131d257..d88d2a3a 100755
--- a/core/modules/safe-mode/data/opt/openslx/scripts/systemd-safe_mode
+++ b/core/modules/safe-mode/data/opt/openslx/scripts/systemd-safe_mode
@@ -55,7 +55,7 @@ EOF
ssh_banner() {
# Visual: ssh banner
- echo "+ - - - - PRÜFUNGSMODUS AKTIV - - - - +" >> "/etc/issue.net"
+ echo "+ - - - PRÜFUNGSMODUS AKTIV - - - +" >> "/etc/issue.net"
echo "++++++++++++++++++++++++++++++++++++++" >> "/etc/issue.net"
}