Skip to content

Commit 55432e2

Browse files
authored
Update README.md
1 parent 2ca93a5 commit 55432e2

1 file changed

Lines changed: 0 additions & 27 deletions

File tree

README.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -116,33 +116,6 @@ $ clashsecret
116116
- 若需将控制台暴露到公网,建议定期更换访问密钥,或通过 `SSH` 端口转发方式进行安全访问。
117117
118118
------
119-
### OpenWrt 脚本模式
120-
121-
当前提供 OpenWrt 脚本模式兼容,适合 x86_64/amd64 与 aarch64/arm64 软路由或设备。该模式复用现有 `script` 运行后端,不包含 procd 开机自启、LuCI、UCI 或 opkg 包化支持,也不承诺 MIPS 与 armv7 设备可用。
122-
123-
建议先将项目放到持久化目录,避免放在 `/tmp``/run` 等重启会丢失的位置:
124-
125-
```bash
126-
cd /root
127-
git clone --branch master --depth 1 https://ghfast.top/https://github.com/wnlen/clash-for-linux.git
128-
cd clash-for-linux
129-
```
130-
131-
安装依赖:
132-
133-
```bash
134-
opkg update
135-
opkg install bash curl tar gzip coreutils-readlink unzip
136-
```
137-
138-
安装与手动管理:
139-
140-
```bash
141-
bash install.sh
142-
clashon
143-
clashctl status
144-
clashoff
145-
```
146119
147120
OpenWrt 下 root/system 安装会把 `clashctl``clashon``clashoff` 等命令入口写入 `/usr/bin`,运行状态、日志和内核二进制仍保存在项目目录的 `runtime/` 下。仅脚本模式不会注册开机自启,设备重启后需要重新执行 `clashon`
148121
## 🧰 常用管理命令

0 commit comments

Comments
 (0)