Copy *.china.conf only

This commit is contained in:
Samuel Huang
2021-08-28 14:30:46 +10:00
parent b827b44e7e
commit 42fb1a392b

2
run.sh
View File

@@ -112,7 +112,7 @@ if [ "${XRAY}" != "1" ]; then
fi
if [ "${IGCHINA}" = "1" ]; then
cp -a /etc/dnsmasq-china.d/*.conf /etc/dnsmasq.d/
cp -a /etc/dnsmasq-china.d/*.china.conf /etc/dnsmasq.d/
else
rm -rf /etc/dnsmasq.d/*.china.conf
fi