Merge pull request #115 from bdobe/master

gluon-config-mode-mesh-vpn: Remove trailing newline from pubkey variable in 0100-mesh-vpn.lua
This commit is contained in:
Matthias Schiffer 2015-04-10 23:32:06 +02:00
commit f2d62c2cf8
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>