mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-19 03:43:29 +00:00
luci-app-familycloud: fix menu display without IPSEC
This commit is contained in:
parent
d3d6c4abe7
commit
c3a80af0fb
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user