From 03e735a44bb33ba38508c794589ff423c6df23c4 Mon Sep 17 00:00:00 2001 From: hotyue <52734432+hotyue@users.noreply.github.com> Date: Mon, 20 Apr 2026 16:55:12 +0000 Subject: [PATCH] =?UTF-8?q?docs(readme):=20=E9=87=8D=E6=9E=84=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E9=83=A8=E7=BD=B2=E6=8C=87=E4=BB=A4=EF=BC=8C=E9=87=87?= =?UTF-8?q?=E7=94=A8=E8=90=BD=E5=9C=B0=E6=89=A7=E8=A1=8C=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E5=BD=BB=E5=BA=95=E4=BF=AE=E5=A4=8D=E7=AE=A1=E9=81=93=E7=AC=A6?= =?UTF-8?q?=E4=BA=A4=E4=BA=92=E9=97=AA=E9=80=80=E4=B8=8E=E8=BF=9B=E7=A8=8B?= =?UTF-8?q?=E8=AF=AF=E6=9D=80=E6=BC=8F=E6=B4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7c0eaed..a80f580 100644 --- a/README.md +++ b/README.md @@ -54,12 +54,12 @@ - **部署 Master (中枢大脑)**:找一台 VPS 作为司令部(仅需部署一台),执行: ```bash -sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/main/master/install_master.sh)" +curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/main/master/install_master.sh -o /tmp/ins_master.sh && sudo bash /tmp/ins_master.sh ``` - 部署 Agent (边缘哨兵):在需要养护的机器上执行 Agent 脚本,安装时选择私有独立中枢,并分别输入您自建机器人的 [Token](https://blog.iot-architect.com/engineering-practice/create-private-telegram-bot-via-botfather) 以及您的个人 [Chat ID](https://blog.iot-architect.com/engineering-practice/get-telegram-personal-id-via-userinfobot) : ```Bash -sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/main/core/install.sh)" +curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/main/core/install.sh -o /tmp/ins_agent.sh && sudo bash /tmp/ins_agent.sh ``` - 激活节点:安装完成后,您的手机会收到一条 #REGISTER# 注册暗号,将其转发给您自己的机器人即可完成编队入库。 @@ -71,7 +71,7 @@ sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/ - 部署 Agent:在目标 VPS 上执行以下指令,安装过程中选择官方公共网关,并输入您的 Chat ID: ```Bash -sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/main/core/install.sh)" +curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/main/core/install.sh -o /tmp/ins_agent.sh && sudo bash /tmp/ins_agent.sh ``` - 激活节点:同上,将收到的暗号转发给官方机器人即可。 @@ -106,7 +106,7 @@ bash /opt/ip_sentinel/core/uninstall.sh *(注意:该分支仅作基础维护,不享受新功能迭代,请尽可能升级你的系统)* ```bash -sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/legacy/core/install.sh)" +curl -fsSL https://raw.githubusercontent.com/hotyue/IP-Sentinel/legacy/core/install.sh -o /tmp/ins_legacy.sh && sudo bash /tmp/ins_legacy.sh ``` ## 📡 战术联络 (Community)