diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2019-07-25 09:01:40 +0200 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2019-07-25 09:01:40 +0200 |
commit | 0768c71b699841fdb9f6a64710ef6c3df36d06aa (patch) | |
tree | 098394a95839b1c38040facb5ee80d841cb55d00 /client/engine | |
parent | 9345a1f2b209ac1b2a9bb8d162994d460a9b1968 (diff) |
#920: Filter more strings by retrieving the client's serial number.
Diffstat (limited to 'client/engine')
-rwxr-xr-x | client/engine/Inventory.lib | 4 |
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 +} |