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 dbb93b11..1b32c731 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 @@ -9,7 +9,7 @@ else local site = require 'gluon.site_config' local sysconfig = require 'gluon.sysconfig' - local pubkey = 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 msg = [[
]] .. i18n.translate('gluon-config-mode:pubkey') .. [[