fix /etc/smartdns/domain-set/gfwlist.conf
This commit is contained in:
parent
f7d7b68fa0
commit
109b7de268
1 changed files with 1 additions and 1 deletions
|
|
@ -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/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"
|
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
|
grep -v '^#' "${CACHE_FOLDER}/bogus-nxdomain.china.conf" | grep -v '^$' | sed -e 's/=/ /g' > /etc/smartdns/conf.d/bogus-nxdomain.conf
|
||||||
Loading…
Add table
Add a link
Reference in a new issue