From 0768c71b699841fdb9f6a64710ef6c3df36d06aa Mon Sep 17 00:00:00 2001 From: "Ramón M. Gómez" Date: Thu, 25 Jul 2019 09:01:40 +0200 Subject: #920: Filter more strings by retrieving the client's serial number. --- client/engine/Inventory.lib | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/engine') 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 +} -- cgit v1.2.3-18-g5258