File tree Expand file tree Collapse file tree 3 files changed +39
-0
lines changed
Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -240,6 +240,15 @@ FF_MAYBE_UNUSED static bool detectDebianDerived(FFOSResult* result)
240240 ffStrbufSetS (& result -> prettyName , "Raspberry Pi OS" );
241241 return true;
242242 }
243+ else if (ffStrbufEndsWithS (& instance .state .platform .sysinfo .release , "+truenas" ))
244+ {
245+ // TrueNAS Scale
246+ ffStrbufSetS (& result -> id , "truenas-scale" );
247+ ffStrbufSetS (& result -> idLike , "debian" );
248+ ffStrbufSetS (& result -> name , "TrueNAS Scale" );
249+ ffStrbufSetS (& result -> prettyName , "TrueNAS Scale" );
250+ return true;
251+ }
243252 else
244253 {
245254 // Hack for MX Linux. See #847
Original file line number Diff line number Diff line change 1+ ++ $2++
2+ $1++++++ $2++++++
3+ $1+++++++++ $2+++++++++
4+ $1+++++++ $2+++++++
5+ $1+++ $2+++ $1+ $3--------$1 $2+ $1+++ $2+++
6+ $1++++++ $2++++++ $3------$1 ++++++ $2++++++
7+ $1++++++++ $2++++++++++ $1++++++++++ $2++++++++
8+ $1+++++++ $3--$1 $2+++++++ $1+++++++ $3--$1 $2+++++++
9+ $2+++ $1+ $3--------$1 $2+ $1+++ $2+++ $1+ $3--------$1 $2+ $1+++
10+ $2++++++ $3--------$1 ++++++ $2++++++ $3--------$1 ++++++
11+ $2++++++++++ $1+++++++++ $2+++++++++ $1++++++++++
12+ $2+++++++++ $1+++++++ $3--$1 $2+++++++ $1+++++++++
13+ $2+++++ +++ $3--------$1 +++ +++++
14+ $2++ +++++++ $3------$1 +++++++ ++
15+ $2++++++++++ $1++++++++++
16+ $2++++++++ $1++++++++
17+ $2+++++ $1+++++
18+ $2++ $1++
Original file line number Diff line number Diff line change @@ -4739,6 +4739,18 @@ static const FFlogo T[] = {
47394739 FF_COLOR_FG_CYAN ,
47404740 },
47414741 },
4742+ // TrueNAS Scale
4743+ {
4744+ .names = {"TrueNAS-Scale" },
4745+ .lines = FASTFETCH_DATATEXT_LOGO_TRUENAS_SCALE ,
4746+ .colors = {
4747+ FF_COLOR_FG_256 "39" ,
4748+ FF_COLOR_FG_256 "32" ,
4749+ FF_COLOR_FG_256 "248" ,
4750+ },
4751+ .colorKeys = FF_COLOR_FG_256 "248" ,
4752+ .colorTitle = FF_COLOR_FG_256 "32" ,
4753+ },
47424754 // TuxedoOS
47434755 {
47444756 .names = {"Tuxedo OS" , "tuxedo" },
You can’t perform that action at this time.
0 commit comments