mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 14:02:53 +08:00
优化文案描述
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
## 下载 dnsmasq 插件安装脚本
|
||||
## 下载加速规则安装脚本
|
||||
$ sudo curl -LR -o /opt/dnsmasq_plugin.sh https://gitee.com/felixonmars/dnsmasq-china-list/raw/master/install.sh
|
||||
|
||||
## 设置安装脚本权限
|
||||
## 设置脚本可执行权限
|
||||
$ sudo chmod +x /opt/dnsmasq_plugin.sh
|
||||
|
||||
## 设置脚本文件防篡改
|
||||
$ sudo chattr +i /opt/dnsmasq_plugin.sh
|
||||
|
||||
## 执行脚本
|
||||
$ sudo bash /opt/dnsmasq_plugin.sh
|
||||
|
||||
## 设置 crontab
|
||||
|
||||
20 6 * * * /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
|
||||
|
||||
Reference in New Issue
Block a user