module("luci.controller.whoogle", package.seeall) function index() entry({"admin", "apps"}, firstchild(), _("Apps") , 45).dependent = false if not nixio.fs.access("/etc/config/whoogle") then return end local page = entry({"admin", "apps", "whoogle"}, cbi("whoogle"), _("Whoogle")) page.order = 10 page.dependent = true page.acl_depends = { "luci-app-whoogle" } entry({"admin","apps","whoogle","status"},call("act_status")).leaf=true end