gluon-info: Add current domain to gluon-info
- provides easier information of the currently active domain - tested by patching a running node
This commit is contained in:
parent
079f449d9d
commit
f0246b65e2
@ -26,6 +26,7 @@ local values = {
|
|||||||
.. ' / ' .. util.trim(util.readfile('/lib/gluon/site-version')) },
|
.. ' / ' .. util.trim(util.readfile('/lib/gluon/site-version')) },
|
||||||
{ 'Firmware release', util.trim(util.readfile('/lib/gluon/release')) },
|
{ 'Firmware release', util.trim(util.readfile('/lib/gluon/release')) },
|
||||||
{ 'Site', site.site_name() },
|
{ 'Site', site.site_name() },
|
||||||
|
{ 'Domain', uci:get('gluon', 'core', 'domain') or 'n/a' },
|
||||||
{ 'Public VPN key', pubkey or 'n/a' },
|
{ 'Public VPN key', pubkey or 'n/a' },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user