summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-03-20 11:32:08 +0100
committerSimon Rettberg2019-03-20 11:32:08 +0100
commit012732b93bf547c87077b8597b3803abd8ea79bc (patch)
treea8d783ce0053418fc565b35c1a800f04e341d2a8
parent[kernel-vanilla] Update to 4.19.30 (diff)
downloadmltk-012732b93bf547c87077b8597b3803abd8ea79bc.tar.gz
mltk-012732b93bf547c87077b8597b3803abd8ea79bc.tar.xz
mltk-012732b93bf547c87077b8597b3803abd8ea79bc.zip
[hardware-stats] Filter a few more bogus system model names
-rwxr-xr-xcore/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats2
1 files changed, 1 insertions, 1 deletions
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