summaryrefslogtreecommitdiffstats
path: root/remote/modules/hardware-stats/data/opt
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/hardware-stats/data/opt')
-rwxr-xr-xremote/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats3
1 files changed, 2 insertions, 1 deletions
diff --git a/remote/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats b/remote/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
index 2b54e3e7..6c0b667b 100755
--- a/remote/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
+++ b/remote/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
@@ -138,11 +138,12 @@ dmidec() {
echo "$MODEL"
}
MODEL=$(dmidec -s system-product-name)
+MANUF=$(dmidec -s system-manufacturer)
# Try fallback to baseboard
if [ "$MODEL" = "Unknown" ]; then
MODEL=$(dmidec -s baseboard-product-name)
+ MANUF=$(dmidec -s baseboard-manufacturer)
fi
-MANUF=$(dmidec -s baseboard-manufacturer)
if [ "$MANUF" != "Unknown" ]; then
MODEL="$MODEL ($MANUF)"