From 109b7de2688ead6b1c72a73397271c62e1325b39 Mon Sep 17 00:00:00 2001 From: bgme <i@bgme.me> Date: Fri, 7 Feb 2025 07:19:56 +0800 Subject: [PATCH] fix /etc/smartdns/domain-set/gfwlist.conf --- dnsmasq-china-list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsmasq-china-list.sh b/dnsmasq-china-list.sh index be4eead..e0c02c8 100755 --- a/dnsmasq-china-list.sh +++ b/dnsmasq-china-list.sh @@ -12,5 +12,5 @@ curl --proxy "${PROXY}" https://raw.githubusercontent.com/felixonmars/dnsmasq-ch curl --proxy "${PROXY}" https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/refs/heads/master/apple.china.conf -o "${CACHE_FOLDER}/apple.china.conf" curl --proxy "${PROXY}" https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/refs/heads/master/bogus-nxdomain.china.conf -o "${CACHE_FOLDER}/bogus-nxdomain.china.conf" -cp "${CACHE_FOLDER}/*.conf" /tmp/dnsmasq.d/ +cp ${CACHE_FOLDER}/*.conf /tmp/dnsmasq.d/ grep -v '^#' "${CACHE_FOLDER}/bogus-nxdomain.china.conf" | grep -v '^$' | sed -e 's/=/ /g' > /etc/smartdns/conf.d/bogus-nxdomain.conf \ No newline at end of file