Skip to content
Snippets Groups Projects
Unverified Commit f0246b65 authored by Florian Maurer's avatar Florian Maurer
Browse files

gluon-info: Add current domain to gluon-info

- provides easier information of the currently active domain
- tested by patching a running node
parent 079f449d
Branches
Tags
No related merge requests found
...@@ -26,6 +26,7 @@ local values = { ...@@ -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' },
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment