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