gluon-config-mode-mesh-vpn: provide contact-information for reboot-message (#671)
This commit is contained in:
parent
269a8fbdd4
commit
d8092bce62
@ -11,6 +11,7 @@ else
|
|||||||
|
|
||||||
local pubkey = util.trim(util.exec("/etc/init.d/fastd show_key " .. "mesh_vpn"))
|
local pubkey = util.trim(util.exec("/etc/init.d/fastd show_key " .. "mesh_vpn"))
|
||||||
local hostname = uci:get_first("system", "system", "hostname")
|
local hostname = uci:get_first("system", "system", "hostname")
|
||||||
|
local contact = uci:get_first("gluon-node-info", "owner", "contact")
|
||||||
|
|
||||||
local msg = i18n.translate('gluon-config-mode:pubkey')
|
local msg = i18n.translate('gluon-config-mode:pubkey')
|
||||||
|
|
||||||
@ -19,6 +20,7 @@ else
|
|||||||
, hostname=hostname
|
, hostname=hostname
|
||||||
, site=site
|
, site=site
|
||||||
, sysconfig=sysconfig
|
, sysconfig=sysconfig
|
||||||
|
, contact=contact
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user