Cleanup
This commit is contained in:
parent
c8db38f12b
commit
4a8e24a61c
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user