🎁 Sync 2026-07-27 21:05:23

This commit is contained in:
github-actions[bot] committed 2026-07-27 21:05:23 +08:00
1 parent f8d3ef7638
commit 09f4362871
106 files changed
+1561 -391

No files matched your search

@@ -15,10 +15,12 @@ end
function kaiplus_status()
local sys = require "luci.sys"
local uci = require "luci.model.uci".cursor()
local port = uci:get_first("kaiplus", "kaiplus", "port", "8198")
local port = uci:get_first("kaiplus", "kaiplus", "port", "8189")
local base_path = uci:get_first("kaiplus", "kaiplus", "base_path", "/apps/kaiplus/")
local status = {
running = (sys.call("pidof kaiplus_bin >/dev/null") == 0),
port = port
port = port,
base_path = base_path
}
luci.http.prepare_content("application/json")
luci.http.write_json(status)