diff --git a/package/gluon-mesh-vpn-openvpn/Makefile b/package/gluon-mesh-vpn-openvpn/Makefile index bf2c0f73..fede4cda 100644 --- a/package/gluon-mesh-vpn-openvpn/Makefile +++ b/package/gluon-mesh-vpn-openvpn/Makefile @@ -7,7 +7,7 @@ include ../gluon.mk define Package/gluon-mesh-vpn-openvpn TITLE:=Support for connecting meshes via custom openvpn configuration - DEPENDS:=+gluon-core +gluon-mesh-vpn-core +openvpn + DEPENDS:=+gluon-core +gluon-mesh-vpn-core +openvpn +lua-openssl endef $(eval $(call BuildPackageGluon,gluon-mesh-vpn-openvpn)) diff --git a/package/gluon-mesh-vpn-openvpn/luasrc/lib/gluon/upgrade/400-mesh-vpn-openvpn b/package/gluon-mesh-vpn-openvpn/luasrc/lib/gluon/upgrade/400-mesh-vpn-openvpn index aa7e5e4c..f2dd5f61 100755 --- a/package/gluon-mesh-vpn-openvpn/luasrc/lib/gluon/upgrade/400-mesh-vpn-openvpn +++ b/package/gluon-mesh-vpn-openvpn/luasrc/lib/gluon/upgrade/400-mesh-vpn-openvpn @@ -8,8 +8,11 @@ local uci = require('simple-uci').cursor() -- https://stackoverflow.com/a/4991602/3990041 local function file_exists(name) - local f=io.open(name,"r") - if f~=nil then io.close(f) return true else return false end + local f = io.open(name, 'r') + if f ~= nil then + io.close(f) + return true else return false + end end local vpn = {