Commit 6b7ce449 authored by Kasalehlia's avatar Kasalehlia

config-mode: show mesh-vpn options if parker is used

parent 8bdae04b
......@@ -2,9 +2,10 @@ local unistd = require 'posix.unistd'
local has_fastd = unistd.access('/lib/gluon/mesh-vpn/fastd')
local has_tunneldigger = unistd.access('/lib/gluon/mesh-vpn/tunneldigger')
local has_parker = unistd.access('/lib/gluon/mesh-vpn/parker')
return function(form, uci)
if not (has_fastd or has_tunneldigger) then
if not (has_fastd or has_tunneldigger or has_parker) then
return
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment