Skip to content
Snippets Groups Projects
Commit 5ecb8a73 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-mesh-vpn-fastd: gluon-annouced: fix fastd status always being reported as enabled

parent 3655a5b2
No related branches found
No related tags found
No related merge requests found
local ret = { local ret = {
enabled = uci:get('fastd', 'mesh_vpn', 'enabled') ~= 0, enabled = uci:get('fastd', 'mesh_vpn') and (uci:get('fastd', 'mesh_vpn', 'enabled') == nil or uci:get_bool('fastd', 'mesh_vpn', 'enabled')),
version = util.readline(io.popen('exec fastd -v')):match('^[^%s]+%s+(.+)'), version = util.readline(io.popen('exec fastd -v')):match('^[^%s]+%s+(.+)'),
} }
return ret return ret
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment