gluon-config-mode-mesh-vpn: Remove trailing newline from pubkey variable in 0100-mesh-vpn.lua
This commit is contained in:
parent
ba9ce051b0
commit
c4f7a52621
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user