Skip to content

Commit

Permalink
Fixed broken activation of tunneldigger via site.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
lcb01a committed Jun 24, 2016
1 parent 510012d commit 934ac0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ local lutil = require 'luci.util'
users.add_group('gluon-tunneldigger', 900)

local enabled = uci:get_first('tunneldigger', 'broker', 'enabled')
if not enabled then
if (tonumber(enabled) == 0) then
enabled = site.tunneldigger_mesh_vpn.enabled and 1 or 0
end

Expand Down

0 comments on commit 934ac0e

Please sign in to comment.