From 012732b93bf547c87077b8597b3803abd8ea79bc Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 20 Mar 2019 11:32:08 +0100 Subject: [hardware-stats] Filter a few more bogus system model names --- .../hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats index 3b4467fb..a32dcd91 100755 --- a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats +++ b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats @@ -226,7 +226,7 @@ echo "SMART: $OVERALL - $REALLOC reallocated, $PENDING pending" dmidec() { local RETVAL=$(dmidecode "$@" 2>/dev/null | grep -v '^#' | grep -v '^Invalid' | sed 's/\s\s*/ /g;s/^ //;s/ $//') case "$RETVAL" in - ""|*"Product Name"*|*"be filled"*|"unknown"|*"product name"*) + ""|*"Product Name"*|*"be filled"*|"unknown"|*"efault string"*|*"efault String"*|*"product name"*|*"anufacturer"*|*"ystem model"*) RETVAL="Unknown" ;; esac -- cgit v1.2.3-55-g7522