整理文件名

This commit is contained in:
CallMeR
2023-11-28 18:35:55 +08:00
parent 145328fb3c
commit 554b2bd6d4
8 changed files with 1 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
## 下载 dnsmasq 插件安装脚本
$ sudo wget https://gitee.com/felixonmars/dnsmasq-china-list/raw/master/install.sh -O /opt/install.sh
## 设置安装脚本权限
$ sudo chmod +x /opt/install.sh
## 设置 crontab
15 5 * * * /usr/bin/wget -q --tries=10 --retry-connrefused --random-wait https://anti-ad.net/anti-ad-for-smartdns.conf -O /etc/smartdns/anti-ad-smartdns.conf
20 5 * * * /usr/bin/wget -q --tries=10 --retry-connrefused --random-wait https://anti-ad.net/anti-ad-for-dnsmasq.conf -O /etc/dnsmasq.d/anti-ad-dnsmasq.conf
25 5 * * * /usr/bin/systemctl restart smartdns.service
30 5 * * * /usr/bin/bash /opt/install.sh