summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2025-03-17 12:01:27 +0100
committerSimon Rettberg2025-03-17 12:01:27 +0100
commite1a8ecef82d6d936d5e0fd56c0a3632728681c25 (patch)
treeaa81ad56036289d94b9e1b75e58e9c8df20ab3cc
parent[vmware-common] More log output in init script (diff)
downloadmltk-e1a8ecef82d6d936d5e0fd56c0a3632728681c25.tar.gz
mltk-e1a8ecef82d6d936d5e0fd56c0a3632728681c25.tar.xz
mltk-e1a8ecef82d6d936d5e0fd56c0a3632728681c25.zip
[hardware-stats] Move log output line into place
-rwxr-xr-xcore/modules/hardware-stats/data/opt/openslx/scripts/systemd-gather_hw_info2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-gather_hw_info b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-gather_hw_info
index 30ae921c..71ceec78 100755
--- a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-gather_hw_info
+++ b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-gather_hw_info
@@ -224,10 +224,10 @@ if which smartctl; then
if [ -n "$SPINRETRY_VAL" ] && [ "$SPINRETRY_VAL" -le "$SPINRETRY_THR" ]; then
BADSECTORS=$(( BADSECTORS + 100 ))
fi
+ echo "SMART $dev: $OVERALL - $REALLOC reallocated, $PENDING pending"
done
rm -f -- "$FILE"
fi
-echo "SMART: $OVERALL - $REALLOC reallocated, $PENDING pending"
################################################################################
# 8) Read system model and manufacturer