mirror of
https://github.com/fw876/helloworld.git
synced 2026-12-05 16:02:13 +00:00
luci-app-ssr-plus: Fix cp: can't create '/dnsmasq-ssrplus.d/gfw_list.conf': No such file or directory.
Signed-off-by: Zxl hhyccc <zxlhhyccc@gmail.com>
This commit is contained in:
1 parent
6ffe77cc0b
commit
8f3b7ea66c
1 file changed
+1
@@ -10,6 +10,7 @@ local icount = 0
|
||||
local args = arg[1]
|
||||
local uci = luci.model.uci.cursor()
|
||||
local TMP_DNSMASQ_PATH = "${DNSMASQ_CONF_DIR%*/}/dnsmasq-ssrplus.d"
|
||||
luci.sys.call("mkdir -p " .. TMP_DNSMASQ_PATH)
|
||||
local TMP_PATH = "/var/etc/ssrplus"
|
||||
-- match comments/title/whitelist/ip address/excluded_domain
|
||||
local comment_pattern = "^[!\\[@]+"
|
||||
|
||||
Reference in new issue
Block a user