From d8092bce62a01a94a5c617294c96637237fb97e9 Mon Sep 17 00:00:00 2001 From: kb-light Date: Wed, 27 Apr 2016 17:08:42 +0200 Subject: [PATCH] gluon-config-mode-mesh-vpn: provide contact-information for reboot-message (#671) --- .../files/lib/gluon/config-mode/reboot/0100-mesh-vpn.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/gluon-config-mode-mesh-vpn/files/lib/gluon/config-mode/reboot/0100-mesh-vpn.lua b/package/gluon-config-mode-mesh-vpn/files/lib/gluon/config-mode/reboot/0100-mesh-vpn.lua index 9bd31486..c6e06975 100644 --- a/package/gluon-config-mode-mesh-vpn/files/lib/gluon/config-mode/reboot/0100-mesh-vpn.lua +++ b/package/gluon-config-mode-mesh-vpn/files/lib/gluon/config-mode/reboot/0100-mesh-vpn.lua @@ -11,6 +11,7 @@ else local pubkey = util.trim(util.exec("/etc/init.d/fastd show_key " .. "mesh_vpn")) 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') @@ -19,6 +20,7 @@ else , hostname=hostname , site=site , sysconfig=sysconfig + , contact=contact }) end end