Update On Wed May 7 20:36:26 CEST 2025

This commit is contained in:
github-action[bot]
2025-05-07 20:36:27 +02:00
parent 03f75d0701
commit ae3ff8271e
86 changed files with 2655 additions and 682 deletions
@@ -693,6 +693,12 @@ function add_rule(var)
api.set_cache_var("DEFAULT_DNS", DEFAULT_DNS)
end
end
--dhcp.leases to hosts
local hosts = "/tmp/etc/" .. appname .. "_tmp/dhcp-hosts"
sys.call("touch " .. hosts)
tinsert(conf_lines, "addn-hosts=" .. hosts)
if #conf_lines > 0 then
local conf_out = io.open(DNSMASQ_CONF_FILE, "a")
conf_out:write(table.concat(conf_lines, "\n"))