update 2026-11-04 05:27:41

This commit is contained in:
action committed 2026-11-04 05:27:41 +08:00
1 parent 0350fcc2e5
commit 1b82056d99
1124 files changed
+3 -574287

No files matched your search

@@ -1,17 +0,0 @@
module("luci.controller.clouddrive2", package.seeall)
function index()
if not nixio.fs.access("/etc/config/clouddrive2") then
return
end
entry({"admin", "nas"}, firstchild(), _("NAS"), 45).dependent = false
entry({"admin","nas","clouddrive2"},cbi("clouddrive2"),_("CloudDrive2"), 10).acl_depends = { "luci-app-clouddrive2" }
entry({"admin", "nas", "clouddrive2", "status"}, call("act_status")).leaf = true
end
function act_status()
local e={}
e.running=luci.sys.call("pgrep clouddrive >/dev/null")==0
luci.http.prepare_content("application/json")
luci.http.write_json(e)
end