Archived
更新 SmartDNS 插件脚本
This commit is contained in:
@@ -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..."
|
||||||
|
|||||||
Reference in New Issue
Block a user