更新脚本名称 & 备注信息

This commit is contained in:
CallMeR
2026-08-11 22:37:07 +08:00
parent a41bd56bc3
commit 12b5a4aec4
7 changed files with 26 additions and 12 deletions
+5 -5
View File
@@ -253,16 +253,16 @@ $ sudo curl -LR -o /etc/smartdns.d/anti-ad.smartdns.conf https://anti-ad.net/ant
```bash
## 下载加速规则安装脚本
$ sudo curl -LR -o /usr/local/bin/smartdns-plugin.sh https://gitee.com/callmer/smartdns_china_list_installer/raw/main/smartdns_plugin.sh
$ sudo curl -LR -o /usr/local/bin/smartdns-cnlist https://gitee.com/callmer/smartdns_china_list_installer/raw/main/smartdns-china-list-installer.sh
## 设置脚本可执行权限
$ sudo chmod +x /usr/local/bin/smartdns-plugin.sh
$ sudo chmod +x /usr/local/bin/smartdns-cnlist
## 设置脚本文件防篡改
$ sudo chattr +i /usr/local/bin/smartdns-plugin.sh
$ sudo chattr +i /usr/local/bin/smartdns-cnlist
## 执行脚本
$ sudo /usr/local/bin/smartdns-plugin.sh
$ sudo /usr/local/bin/smartdns-cnlist
```
### 6.2.定时任务
@@ -292,7 +292,7 @@ $ sudo crontab -e
20 9 * * * /usr/bin/curl --retry-connrefused --retry 5 --retry-delay 5 --retry-max-time 60 -fsSLR -o /etc/smartdns.d/anti-ad.smartdns.conf https://anti-ad.net/anti-ad-for-smartdns.conf
30 9 * * * /usr/local/bin/smartdns-plugin.sh
30 9 * * * /usr/local/bin/smartdns-cnlist
```
### 6.3. SmartDNS 主配置