From 95fcfd28c7e65ae4eb21b91c086634a2d5843c3b Mon Sep 17 00:00:00 2001 From: Coolkid <196774065@qq.com> Date: Sat, 15 Oct 2022 00:11:51 +0800 Subject: [PATCH] luci-app-passwall: fix acl dnsmasq start fail (#2140) --- luci-app-passwall/root/usr/share/passwall/iptables.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-passwall/root/usr/share/passwall/iptables.sh b/luci-app-passwall/root/usr/share/passwall/iptables.sh index 01ade2196..38bfbfd35 100755 --- a/luci-app-passwall/root/usr/share/passwall/iptables.sh +++ b/luci-app-passwall/root/usr/share/passwall/iptables.sh @@ -341,7 +341,7 @@ load_acl() { dnsmasq_port=$(get_new_port $(expr $dnsmasq_port + 1)) redirect_dns_port=$dnsmasq_port - mkdir -p $TMP_ACL_PATH/$sid + mkdir -p $TMP_ACL_PATH/$sid/dnsmasq.d echo "port=${dnsmasq_port}" >> $TMP_ACL_PATH/$sid/dnsmasq.conf echo "conf-dir=${TMP_ACL_PATH}/${sid}/dnsmasq.d" >> $TMP_ACL_PATH/$sid/dnsmasq.conf d_server=127.0.0.1