From 834bc39d7cb46c0e9467dec59deb0d82f508a66c Mon Sep 17 00:00:00 2001 From: gitea-action Date: Thu, 31 Oct 2024 10:00:27 +0800 Subject: [PATCH] luci-app-passwall: sync upstream last commit: https://github.com/xiaorouji/openwrt-passwall/commit/11b81a22a4605645968770ed3b23bb1e2b3c104b --- luci-app-passwall/root/usr/share/passwall/app.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-passwall/root/usr/share/passwall/app.sh b/luci-app-passwall/root/usr/share/passwall/app.sh index bc676729e..a41b9858c 100755 --- a/luci-app-passwall/root/usr/share/passwall/app.sh +++ b/luci-app-passwall/root/usr/share/passwall/app.sh @@ -361,7 +361,7 @@ get_dnsmasq_conf_dir() { [ -n "$dnsmasq_conf_path" ] && { local dnsmasq_conf_dir=$(grep '^conf-dir=' "$dnsmasq_conf_path" | cut -d'=' -f2 | head -n 1) [ -n "$dnsmasq_conf_dir" ] && { - DNSMASQ_CONF_DIR=$dnsmasq_conf_dir + DNSMASQ_CONF_DIR=${dnsmasq_conf_dir%*/} TMP_DNSMASQ_PATH=${DNSMASQ_CONF_DIR}/${CONFIG} } }