bugfix - cloud based detection

This commit is contained in:
Alexander Tebiev 2024-06-03 17:53:32 +02:00 committed by GitHub
parent 37e3493d16
commit 8676bdd908
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -214,7 +214,7 @@ if ([:len [/system identity get name]] = 0 or [/system identity get name] = "Mik
};
:local isSoftBased false;
:if ([/system resource get board-name] = "CHR" or [/system resource get board-name] = "x86") do={
:if ([:pick [/system resource get board-name] 0 3] = "CHR" or [/system resource get board-name] = "x86") do={
:set isSoftBased true;
};