Skip to content

Commit

Permalink
Revert "config-mode: show mesh-vpn options if parker is used"
Browse files Browse the repository at this point in the history
This reverts commit 5a6d1e7.
  • Loading branch information
maurerle committed Nov 1, 2024
1 parent c7735e9 commit be9d877
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
local vpn = require 'gluon.mesh-vpn'
local _, active_vpn = vpn.get_active_provider()

return function(form, uci)
if active_vpn == nil then
return
end

local pkg_i18n = i18n 'gluon-config-mode-mesh-vpn'

local msg = pkg_i18n.translate(
Expand Down

0 comments on commit be9d877

Please sign in to comment.