luci-app-familycloud: fix menu display without IPSEC

This commit is contained in:
LEAN-ESX 2019-05-31 06:26:12 -07:00
parent d3d6c4abe7
commit c3a80af0fb
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ LUCI_DEPENDS:=+coreutils +coreutils-nohup +libreadline +libcurl +libopenssl +bas
LUCI_PKGARCH:=all
PKG_NAME:=luci-app-familycloud
PKG_VERSION:=1
PKG_RELEASE:=3
PKG_RELEASE:=5
include $(TOPDIR)/feeds/luci/luci.mk

View File

@ -2,7 +2,7 @@
module("luci.controller.familycloud", package.seeall)
function index()
if not nixio.fs.access("/etc/config/ipsec") then
if not nixio.fs.access("/etc/config/familycloud") then
return
end