mirror of
https://github.com/Lsmoisu/sing-box-shell.git
synced 2025-06-08 12:44:14 +08:00
Update README.md
This commit is contained in:
parent
0147dd2688
commit
68c5126592
38
README.md
38
README.md
@ -16,45 +16,27 @@ Sing-Box Shell
|
|||||||
从 GitHub 部署
|
从 GitHub 部署
|
||||||
```shell
|
```shell
|
||||||
bash <(curl -s https://github.com/Lsmoisu/sing-box-shell/raw/refs/heads/main/install.sh)
|
bash <(curl -s https://github.com/Lsmoisu/sing-box-shell/raw/refs/heads/main/install.sh)
|
||||||
从其他 Git 源部署
|
|
||||||
```
|
```
|
||||||
收起
|
从 其他Git 部署
|
||||||
|
```shell
|
||||||
自动换行
|
|
||||||
|
|
||||||
复制
|
|
||||||
bash <(curl -s https://git.hechunyu.com/chunyu/sing-box-shell/raw/branch/main/install.sh)
|
bash <(curl -s https://git.hechunyu.com/chunyu/sing-box-shell/raw/branch/main/install.sh)
|
||||||
|
```shell
|
||||||
|
|
||||||
本地运行
|
本地运行
|
||||||
下载脚本:
|
下载脚本:
|
||||||
bash
|
```shell
|
||||||
|
|
||||||
收起
|
|
||||||
|
|
||||||
自动换行
|
|
||||||
|
|
||||||
复制
|
|
||||||
wget https://github.com/Lsmoisu/sing-box-shell/raw/refs/heads/main/install.sh
|
wget https://github.com/Lsmoisu/sing-box-shell/raw/refs/heads/main/install.sh
|
||||||
|
```
|
||||||
添加执行权限并运行:
|
添加执行权限并运行:
|
||||||
bash
|
```shell
|
||||||
|
|
||||||
收起
|
|
||||||
|
|
||||||
自动换行
|
|
||||||
|
|
||||||
复制
|
|
||||||
chmod +x install.sh
|
chmod +x install.sh
|
||||||
sh install.sh
|
sh install.sh
|
||||||
|
```
|
||||||
卸载方法
|
卸载方法
|
||||||
运行脚本时添加 uninstall 参数:
|
运行脚本时添加 uninstall 参数:
|
||||||
|
```shell
|
||||||
bash
|
|
||||||
|
|
||||||
收起
|
|
||||||
|
|
||||||
自动换行
|
|
||||||
|
|
||||||
复制
|
|
||||||
sh install.sh uninstall
|
sh install.sh uninstall
|
||||||
|
```
|
||||||
卸载将移除 sing-box 可执行文件、配置文件、服务、防火墙规则,并尝试恢复网络设置(如 /etc/resolv.conf 和 IP 转发)。
|
卸载将移除 sing-box 可执行文件、配置文件、服务、防火墙规则,并尝试恢复网络设置(如 /etc/resolv.conf 和 IP 转发)。
|
||||||
|
|
||||||
使用说明
|
使用说明
|
||||||
|
Loading…
x
Reference in New Issue
Block a user