diff options
author | ramon <ramongomez@us.es> | 2016-05-13 17:09:02 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2016-05-13 17:09:02 +0000 |
commit | 7a590120f48ac96fd91381b31a8450102c26e471 (patch) | |
tree | 2748c7f855a7e658c68cd7cbee8f58dfe06aae56 | |
parent | ac933ca816520c5495a07c255b399463d4b4fefe (diff) |
#713: Refinar en la detección de nº de serie correcto.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4930 a21b9725-9963-47de-94b9-378ad31fedc9
-rwxr-xr-x | client/engine/Inventory.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Inventory.lib b/client/engine/Inventory.lib index 86b649ce..848cd754 100755 --- a/client/engine/Inventory.lib +++ b/client/engine/Inventory.lib @@ -253,7 +253,7 @@ if [ "$*" == "help" ]; then fi # Obtener nº de serie (ignorar los no especificados) -dmidecode -s system-serial-number | egrep -vi "( +|not specified|filled by o.e.m.)" +dmidecode -s system-serial-number | egrep -vi "(^[ 0]+$|not specified|filled by o.e.m.)" } |