更新 SmartDNS 插件脚本

This commit is contained in:
CallMeR
2023-12-08 23:49:03 +08:00
parent 6aa24ecb61
commit ba0afba7eb
+2 -2
View File
@@ -29,8 +29,8 @@ git clone --depth=1 https://gitee.com/felixonmars/dnsmasq-china-list.git "$WORKD
#git clone --depth=1 http://repo.or.cz/dnsmasq-china-list.git "$WORKDIR" #git clone --depth=1 http://repo.or.cz/dnsmasq-china-list.git "$WORKDIR"
echo "Removing old configurations..." echo "Removing old configurations..."
for _conf in "${CONF_WITH_SERVERS[@]}" "${CONF_WITH_GROUP[@]}" "${CONF_SIMPLE[@]}"; do for conf in "${CONF_WITH_SERVERS[@]}" "${CONF_WITH_GROUP[@]}" "${CONF_SIMPLE[@]}"; do
rm -f /etc/smartdns.d/"$_conf"*.conf rm -f /etc/smartdns.d/"$conf"*.conf
done done
echo "Installing new configurations..." echo "Installing new configurations..."