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 ba9ce051b0
commit c4f7a52621

View File

@ -9,7 +9,7 @@ else
local site = require 'gluon.site_config' local site = require 'gluon.site_config'
local sysconfig = require 'gluon.sysconfig' 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 hostname = uci:get_first("system", "system", "hostname")
local msg = [[<p>]] .. i18n.translate('gluon-config-mode:pubkey') .. [[</p> local msg = [[<p>]] .. i18n.translate('gluon-config-mode:pubkey') .. [[</p>