Update docs
This commit is contained in:
parent
8f55500f0f
commit
83b7ec0448
@ -53,8 +53,12 @@ service xl2tpd restart
|
|||||||
```bash
|
```bash
|
||||||
# 下载脚本
|
# 下载脚本
|
||||||
wget -O add_vpn_user.sh https://bit.ly/addvpnuser
|
wget -O add_vpn_user.sh https://bit.ly/addvpnuser
|
||||||
|
# 运行脚本并按提示操作
|
||||||
|
sudo bash add_vpn_user.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
另外,你也可以在添加参数的情况下运行脚本:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 所有变量值必须用 '单引号' 括起来
|
# 所有变量值必须用 '单引号' 括起来
|
||||||
# *不要* 在值中使用这些字符: \ " '
|
# *不要* 在值中使用这些字符: \ " '
|
||||||
@ -70,8 +74,12 @@ sudo bash add_vpn_user.sh '要更新的用户名' '新密码'
|
|||||||
```bash
|
```bash
|
||||||
# 下载脚本
|
# 下载脚本
|
||||||
wget -O del_vpn_user.sh https://bit.ly/delvpnuser
|
wget -O del_vpn_user.sh https://bit.ly/delvpnuser
|
||||||
|
# 运行脚本并按提示操作
|
||||||
|
sudo bash del_vpn_user.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
另外,你也可以在添加参数的情况下运行脚本:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 所有变量值必须用 '单引号' 括起来
|
# 所有变量值必须用 '单引号' 括起来
|
||||||
# *不要* 在值中使用这些字符: \ " '
|
# *不要* 在值中使用这些字符: \ " '
|
||||||
|
@ -53,8 +53,12 @@ Add a new VPN user, or update an existing VPN user with a new password.
|
|||||||
```bash
|
```bash
|
||||||
# Download the script
|
# Download the script
|
||||||
wget -O add_vpn_user.sh https://bit.ly/addvpnuser
|
wget -O add_vpn_user.sh https://bit.ly/addvpnuser
|
||||||
|
# Run the script and follow the prompts
|
||||||
|
sudo bash add_vpn_user.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Alternatively, you can run the script with arguments:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# All values MUST be placed inside 'single quotes'
|
# All values MUST be placed inside 'single quotes'
|
||||||
# DO NOT use these special characters within values: \ " '
|
# DO NOT use these special characters within values: \ " '
|
||||||
@ -70,8 +74,12 @@ Delete the specified VPN user.
|
|||||||
```bash
|
```bash
|
||||||
# Download the script
|
# Download the script
|
||||||
wget -O del_vpn_user.sh https://bit.ly/delvpnuser
|
wget -O del_vpn_user.sh https://bit.ly/delvpnuser
|
||||||
|
# Run the script and follow the prompts
|
||||||
|
sudo bash del_vpn_user.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Alternatively, you can run the script with arguments:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# All values MUST be placed inside 'single quotes'
|
# All values MUST be placed inside 'single quotes'
|
||||||
# DO NOT use these special characters within values: \ " '
|
# DO NOT use these special characters within values: \ " '
|
||||||
|
Loading…
Reference in New Issue
Block a user