mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 14:02:53 +08:00
优化文案描述
This commit is contained in:
+5
-5
@@ -344,16 +344,16 @@ $ sudo curl -LR -o /etc/smartdns.d/anti-ad.smartdns.conf https://anti-ad.net/ant
|
|||||||
关于脚本的详细介绍,请参阅 [SmartDNS China List 安装脚本](https://gitee.com/callmer/smartdns_china_list_installer) 。
|
关于脚本的详细介绍,请参阅 [SmartDNS China List 安装脚本](https://gitee.com/callmer/smartdns_china_list_installer) 。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
## 下载插件安装脚本
|
## 下载加速规则安装脚本
|
||||||
$ sudo curl -LR -o /opt/smartdns_plugin.sh https://gitee.com/callmer/smartdns_china_list_installer/raw/main/smartdns_plugin.sh
|
$ sudo curl -LR -o /opt/smartdns_plugin.sh https://gitee.com/callmer/smartdns_china_list_installer/raw/main/smartdns_plugin.sh
|
||||||
|
|
||||||
## 设置安装脚本可执行权限
|
## 设置脚本可执行权限
|
||||||
$ sudo chmod +x /opt/smartdns_plugin.sh
|
$ sudo chmod +x /opt/smartdns_plugin.sh
|
||||||
|
|
||||||
## 安装脚本文件防篡改
|
## 设置脚本文件防篡改
|
||||||
$ sudo chattr +i /opt/smartdns_plugin.sh
|
$ sudo chattr +i /opt/smartdns_plugin.sh
|
||||||
|
|
||||||
## 执行安装脚本
|
## 执行脚本
|
||||||
$ sudo bash /opt/smartdns_plugin.sh
|
$ sudo bash /opt/smartdns_plugin.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -377,7 +377,7 @@ $ sudo crontab -e
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
若使用了 `SmartDNS` 插件,由于插件自带服务重启功能,因此定时任务可为如下配置。
|
若使用了 `SmartDNS` 加速规则的安装脚本,由于脚本自带服务重启功能,因此定时任务可为如下配置。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
## 定时任务配置项
|
## 定时任务配置项
|
||||||
|
|||||||
Reference in New Issue
Block a user