1
0
mirror of synced 2024-11-25 06:16:07 +03:00
This commit is contained in:
hwdsl2 2021-09-18 14:58:06 -05:00
parent c8db38f12b
commit 4a8e24a61c
3 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ check_vz() {
check_lxc() { check_lxc() {
# shellcheck disable=SC2154 # shellcheck disable=SC2154
if [ "$container" = "lxc" ] && [ ! -e /dev/ppp ]; then if [ "$container" = "lxc" ] && [ ! -e /dev/ppp ]; then
cat >&2 <<'EOF' cat 1>&2 <<'EOF'
Error: /dev/ppp is missing. LXC containers require configuration. Error: /dev/ppp is missing. LXC containers require configuration.
See: https://github.com/hwdsl2/setup-ipsec-vpn/issues/1014 See: https://github.com/hwdsl2/setup-ipsec-vpn/issues/1014
EOF EOF

View File

@ -58,7 +58,7 @@ check_vz() {
check_lxc() { check_lxc() {
# shellcheck disable=SC2154 # shellcheck disable=SC2154
if [ "$container" = "lxc" ] && [ ! -e /dev/ppp ]; then if [ "$container" = "lxc" ] && [ ! -e /dev/ppp ]; then
cat >&2 <<'EOF' cat 1>&2 <<'EOF'
Error: /dev/ppp is missing. LXC containers require configuration. Error: /dev/ppp is missing. LXC containers require configuration.
See: https://github.com/hwdsl2/setup-ipsec-vpn/issues/1014 See: https://github.com/hwdsl2/setup-ipsec-vpn/issues/1014
EOF EOF

View File

@ -587,8 +587,8 @@ EOF
if [ ! -e /dev/ppp ]; then if [ ! -e /dev/ppp ]; then
cat <<'EOF' cat <<'EOF'
Warning: /dev/ppp is missing, and IPsec/L2TP mode may not work. Please use Warning: /dev/ppp is missing, and IPsec/L2TP mode may not work. Please use
IKEv2 (https://git.io/ikev2) or IPsec/XAuth ("Cisco IPsec") mode IKEv2 (https://git.io/ikev2) or IPsec/XAuth mode to connect.
to connect. Debian 11/10 users, see https://git.io/vpndebian10. Debian 11/10 users, see https://git.io/vpndebian10
EOF EOF
fi fi