p2pvpn: remove checksite script
This commit is contained in:
parent
94db750284
commit
224def327f
@ -33,8 +33,6 @@ define Package/gluon-p2p-vpn-fastd/install
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-p2p-vpn-fastd/postinst
|
define Package/gluon-p2p-vpn-fastd/postinst
|
||||||
#!/bin/sh
|
|
||||||
$(call GluonCheckSite,check_site.lua)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,gluon-p2p-vpn-fastd))
|
$(eval $(call BuildPackage,gluon-p2p-vpn-fastd))
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
need_string_array('fastd_mesh_vpn.methods')
|
|
||||||
need_number('fastd_mesh_vpn.mtu')
|
|
||||||
need_boolean('fastd_mesh_vpn.enabled', false)
|
|
||||||
need_boolean('fastd_mesh_vpn.configurable', false)
|
|
||||||
|
|
||||||
|
|
||||||
local function check_peer(prefix)
|
|
||||||
return function(k, _)
|
|
||||||
local table = string.format('%s[%q].', prefix, k)
|
|
||||||
|
|
||||||
need_string(table .. 'key')
|
|
||||||
need_string_array(table .. 'remotes')
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
local function check_group(prefix)
|
|
||||||
return function(k, _)
|
|
||||||
local table = string.format('%s[%q].', prefix, k)
|
|
||||||
|
|
||||||
need_number(table .. 'limit', false)
|
|
||||||
need_table(table .. 'peers', check_peer(table .. 'peers'), false)
|
|
||||||
need_table(table .. 'groups', check_group(table .. 'groups'), false)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
need_table('fastd_mesh_vpn.groups', check_group('fastd_mesh_vpn.groups'))
|
|
Loading…
Reference in New Issue
Block a user