gluon-config-mode-mesh-vpn: Remove trailing newline from pubkey variable in 0100-mesh-vpn.lua

This commit is contained in:
bjoern 2015-04-10 23:00:13 +02:00
parent 6f4e75c640
commit 970bb739d5
1 changed files with 1 additions and 1 deletions

View File

@ -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 = [[<p>]] .. i18n.translate('gluon-config-mode:pubkey') .. [[</p>