Commit 94b0645ad41f2083e9989f42a9b3dd05c319b8e8

Authored by Thiago Rocha
1 parent 1d0c0bfe
Exists in master

Adicionada coleta do Asset tag da BIOS/Motherboard.

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
src/cacic_hardware.cpp
... ... @@ -397,6 +397,8 @@ void cacic_hardware::coletaLinuxMotherboard(QJsonObject &hardware)
397 397 motherboard["product_name"] = QJsonValue::fromVariant( QString(line.split(":")[1].mid(1)) );
398 398 } else if(line.contains("Version:")){
399 399 motherboard["version"] = QJsonValue::fromVariant( QString(line.split(":")[1].mid(1)) );
  400 + } else if(line.contains("Asset Tag:")){
  401 + motherboard["asset_tag"] = QJsonValue::fromVariant( QString(line.split(":")[1].mid(1)) );
400 402 }
401 403 }
402 404  
... ...