mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 22:12:51 +08:00
更新 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"
|
||||
|
||||
echo "Removing old configurations..."
|
||||
for _conf in "${CONF_WITH_SERVERS[@]}" "${CONF_WITH_GROUP[@]}" "${CONF_SIMPLE[@]}"; do
|
||||
rm -f /etc/smartdns.d/"$_conf"*.conf
|
||||
for conf in "${CONF_WITH_SERVERS[@]}" "${CONF_WITH_GROUP[@]}" "${CONF_SIMPLE[@]}"; do
|
||||
rm -f /etc/smartdns.d/"$conf"*.conf
|
||||
done
|
||||
|
||||
echo "Installing new configurations..."
|
||||
|
||||
Reference in New Issue
Block a user