mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 05:04:17 +01:00
Board (FreeBSD): add support
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#include "board.h"
|
||||
#include "common/settings.h"
|
||||
|
||||
void ffDetectBoard(FFBoardResult* board)
|
||||
{
|
||||
ffStrbufInit(&board->boardName);
|
||||
ffStrbufInit(&board->boardVendor);
|
||||
ffStrbufInit(&board->boardVersion);
|
||||
ffSettingsGetFreeBSDKenv("smbios.planar.product", &board->boardName);
|
||||
ffSettingsGetFreeBSDKenv("smbios.planar.maker", &board->boardVendor);
|
||||
ffSettingsGetFreeBSDKenv("smbios.planar.version", &board->boardVersion);
|
||||
}
|
||||
Reference in New Issue
Block a user