mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 10:22:12 +02:00
Host (FreeBSD): detect serial number and uuid
This commit is contained in:
@@ -12,6 +12,10 @@ const char* ffDetectHost(FFHostResult* host)
|
||||
ffCleanUpSmbiosValue(&host->productVersion);
|
||||
ffSettingsGetFreeBSDKenv("smbios.system.sku", &host->productSku);
|
||||
ffCleanUpSmbiosValue(&host->productSku);
|
||||
ffSettingsGetFreeBSDKenv("smbios.system.serial", &host->productSerial);
|
||||
ffCleanUpSmbiosValue(&host->productSerial);
|
||||
ffSettingsGetFreeBSDKenv("smbios.system.uuid", &host->productUuid);
|
||||
ffCleanUpSmbiosValue(&host->productUuid);
|
||||
ffSettingsGetFreeBSDKenv("smbios.system.maker", &host->sysVendor);
|
||||
ffCleanUpSmbiosValue(&host->sysVendor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user