diff --git a/docs/ikev2-howto-zh.md b/docs/ikev2-howto-zh.md index ba9468f..e7f56e8 100644 --- a/docs/ikev2-howto-zh.md +++ b/docs/ikev2-howto-zh.md @@ -78,7 +78,7 @@ sudo VPN_DNS_SRV1=1.1.1.1 VPN_DNS_SRV2=1.0.0.1 ikev2.sh --auto
-单击此处以查看 IKEv2 辅助脚本的使用信息。 +单击此处查看 IKEv2 脚本的使用信息。 ``` @@ -86,10 +86,10 @@ Usage: bash ikev2.sh [options] Options: --auto run IKEv2 setup in auto mode using default options (for initial setup only) - --addclient [client name] add a new client using default options (after IKEv2 setup) - --exportclient [client name] export configuration for an existing client (after IKEv2 setup) - --listclients list the names of existing clients (after IKEv2 setup) - --revokeclient revoke a client certificate (after IKEv2 setup) + --addclient [client name] add a new client using default options + --exportclient [client name] export configuration for an existing client + --listclients list the names of existing clients + --revokeclient revoke a client certificate --removeikev2 remove IKEv2 and delete all certificates and keys from the IPsec database -h, --help show this help message and exit diff --git a/docs/ikev2-howto.md b/docs/ikev2-howto.md index bdab34b..443dd90 100644 --- a/docs/ikev2-howto.md +++ b/docs/ikev2-howto.md @@ -78,7 +78,7 @@ sudo VPN_DNS_SRV1=1.1.1.1 VPN_DNS_SRV2=1.0.0.1 ikev2.sh --auto
-Click here to view usage information for the IKEv2 helper script. +Click here to view usage information for the IKEv2 script. ``` @@ -86,10 +86,10 @@ Usage: bash ikev2.sh [options] Options: --auto run IKEv2 setup in auto mode using default options (for initial setup only) - --addclient [client name] add a new client using default options (after IKEv2 setup) - --exportclient [client name] export configuration for an existing client (after IKEv2 setup) - --listclients list the names of existing clients (after IKEv2 setup) - --revokeclient revoke a client certificate (after IKEv2 setup) + --addclient [client name] add a new client using default options + --exportclient [client name] export configuration for an existing client + --listclients list the names of existing clients + --revokeclient revoke a client certificate --removeikev2 remove IKEv2 and delete all certificates and keys from the IPsec database -h, --help show this help message and exit diff --git a/extras/add_vpn_user.sh b/extras/add_vpn_user.sh index 8e77c97..140541b 100755 --- a/extras/add_vpn_user.sh +++ b/extras/add_vpn_user.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Script to add/update an VPN user for both IPsec/L2TP and Cisco IPsec +# Script to add/update a VPN user for both IPsec/L2TP and Cisco IPsec # # Copyright (C) 2018-2021 Lin Song # @@ -54,11 +54,9 @@ case "$VPN_USER $VPN_PASSWORD" in ;; esac -clear - cat < # @@ -68,11 +68,9 @@ EOF exit 1 fi -clear - cat <