mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 00:03:58 +01: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