Print product model and cloud mode

This commit is contained in:
Alfredo Cardigliano 2023-06-20 10:16:08 +02:00
parent ce5bc4e090
commit dcbc2f9c48

View file

@ -1020,8 +1020,6 @@ function getNtopngRelease(ntopng_info, verbose)
if ntopng_info.oem or ntopng_info["version.nedge_edition"] then
release = ""
elseif (ntopng_info["version.cloud_edition"]) then
release = "Cloud"
elseif (ntopng_info["version.enterprise_xl_edition"]) then
release = "Enterprise XL"
elseif (ntopng_info["version.enterprise_l_edition"]) then
@ -1036,6 +1034,10 @@ function getNtopngRelease(ntopng_info, verbose)
release = "Community"
end
if (ntopng_info["version.cloud_edition"]) then
release = release .. " (Cloud)"
end
if not isEmptyString(release) and ntopng_info["version.embedded_edition"] then
release = release .. " (Embedded)"
end