luci-app-passwall: sync upstream

last commit: 11b81a22a4
This commit is contained in:
gitea-action 2024-10-31 10:00:27 +08:00
parent fa4a97db61
commit 834bc39d7c

View File

@ -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}
}
}