🎄 Sync 2026-10-12 21:17:30

This commit is contained in:
github-actions[bot] committed 2026-10-12 21:17:30 +08:00
1 parent 8247b3bbae
commit 426eda7eae
3 files changed
+15 -3

No files matched your search

+2 -2
View File
@@ -1,8 +1,8 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=kai-agent
PKG_VERSION:=0.0.25
PKG_RELEASE:=3
PKG_VERSION:=0.0.26
PKG_RELEASE:=4
PKG_SOURCE:=kai-agent-bundle-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/istoreos/istoreos-app-hub/releases/download/kai-runtime-v$(PKG_VERSION)/
PKG_HASH:=skip
+1 -1
View File
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-passwall
PKG_VERSION:=26.10.4
PKG_RELEASE:=329
PKG_RELEASE:=330
PKG_PO_VERSION:=$(PKG_VERSION)
PKG_CONFIG_DEPENDS:= \
@@ -203,6 +203,18 @@ config_lines = {
DNS_MODE == "socks" and string.format("proxy-server socks5://%s -name %s", REMOTE_PROXY_SERVER, proxy_server_name) or ""
}
if DNS_REDIRECT then
local hosts = {}
api.uci:foreach("dhcp", "host", function(s)
if datatypes.hostname(s.name or "") and datatypes.ip4addr(s.ip or "") then
hosts[#hosts + 1] = s.ip .. " " .. s.name
end
end)
local hosts_file = FLAG_PATH .. "/dhcp-static-hosts"
if fs.writefile(hosts_file, table.concat(hosts, "\n") .. "\n") and #hosts > 0 then
table.insert(config_lines, string.format("hosts-file %q", hosts_file))
end
-- SmartDNS monitors the lease file and updates local records without a restart.
local lease_file = api.uci_get("dhcp", "@dnsmasq[0]", "leasefile")
if not lease_file or lease_file == "" then lease_file = "/tmp/dhcp.leases" end