summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2019-07-25 09:01:40 +0200
committerRamón M. Gómez <ramongomez@us.es>2019-08-20 17:26:48 +0200
commit0e905a523c879a8cf2be83f0f226aafbf616f0e5 (patch)
tree94b245e28fefce8a3641fb1687c620e9286a4445 /client
parent4ce1d0665305b72673fb72d9341ae770d72e4274 (diff)
#920: Filter more strings by retrieving the client's serial number.
Diffstat (limited to 'client')
-rwxr-xr-xclient/engine/Inventory.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/engine/Inventory.lib b/client/engine/Inventory.lib
index 853f0d18..1dd7173c 100755
--- a/client/engine/Inventory.lib
+++ b/client/engine/Inventory.lib
@@ -108,7 +108,7 @@ if [ "$*" == "help" ]; then
fi
# Obtener nº de serie (ignorar los no especificados)
-dmidecode -s system-serial-number | egrep -vi "(^[ 0]+$|not specified|filled by o.e.m.)"
+dmidecode -s system-serial-number | egrep -vi "(^[ 0]+$|not specified|to be filled|invalid entry)"
}
@@ -499,4 +499,4 @@ fi
# Mostrar resultado y salir sin errores.
[ -n "$VERSION" ] && echo "$TYPE:$VERSION $IS64BIT"
return 0
-} \ No newline at end of file
+}