From 2d37af1ac4698e2d3d73d39809aee6c24d97884a Mon Sep 17 00:00:00 2001 From: fengbh <1953356163@qq.com> Date: Sun, 6 Apr 2025 17:09:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=85=B3=E4=BA=8E=E4=B8=80?= =?UTF-8?q?=E9=94=AE=E6=9B=B4=E6=96=B0=E7=9B=B8=E5=85=B3=E7=9A=84=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- me241200_zerotierApi/ReadMe.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/me241200_zerotierApi/ReadMe.md b/me241200_zerotierApi/ReadMe.md index 7ac9195..d5df4a8 100644 --- a/me241200_zerotierApi/ReadMe.md +++ b/me241200_zerotierApi/ReadMe.md @@ -19,8 +19,15 @@ pip install -r requirements.txt ```bash python main.py ``` - 打印当前网络的节点信息,并在当前目录下产生文件`smartdns.conf`。 +### 三、一键更新 +```bash +./up_nas_conf.sh +``` +可以自动生成`smartdns.conf`的配置文件,上传到群晖NAS,然后重启容器。 +- 需要提前设置ssh密钥登陆,否则要手动输入密码 +- 确保登录用户具有执行docker的权限,sudo需要添加`fengbohan ALL=(ALL) NOPASSWD: ALL` 到文件`/etc/sudoers.d/main` +