Improve Debian 7 workaround note
This commit is contained in:
parent
f0824298dc
commit
96d6f4b3e3
@ -72,6 +72,7 @@ cat <<'EOF'
|
|||||||
IMPORTANT: Workaround required for Debian 7 (Wheezy).
|
IMPORTANT: Workaround required for Debian 7 (Wheezy).
|
||||||
First, run the script at: https://git.io/vpndebian7
|
First, run the script at: https://git.io/vpndebian7
|
||||||
Continue only after completing this workaround.
|
Continue only after completing this workaround.
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
24
vpnsetup.sh
24
vpnsetup.sh
@ -80,6 +80,18 @@ if [ -z "$VPN_IPSEC_PSK" ] || [ -z "$VPN_USER" ] || [ -z "$VPN_PASSWORD" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$(sed 's/\..*//' /etc/debian_version)" = "7" ]; then
|
||||||
|
cat <<'EOF'
|
||||||
|
IMPORTANT: Workaround required for Debian 7 (Wheezy).
|
||||||
|
First, run the script at: https://git.io/vpndebian7
|
||||||
|
If not already done so, press Ctrl-C to interrupt now.
|
||||||
|
|
||||||
|
Pausing for 60 seconds...
|
||||||
|
|
||||||
|
EOF
|
||||||
|
sleep 60
|
||||||
|
fi
|
||||||
|
|
||||||
echo "VPN setup in progress... Please be patient."
|
echo "VPN setup in progress... Please be patient."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
@ -95,18 +107,6 @@ apt-get -yqq update
|
|||||||
apt-get -yq install wget dnsutils openssl
|
apt-get -yq install wget dnsutils openssl
|
||||||
apt-get -yq install iproute gawk grep sed net-tools
|
apt-get -yq install iproute gawk grep sed net-tools
|
||||||
|
|
||||||
if [ "$(sed 's/\..*//' /etc/debian_version)" = "7" ]; then
|
|
||||||
cat <<'EOF'
|
|
||||||
|
|
||||||
IMPORTANT: Workaround required for Debian 7 (Wheezy).
|
|
||||||
First, run the script at: https://git.io/vpndebian7
|
|
||||||
If not already done so, press Ctrl-C to interrupt.
|
|
||||||
|
|
||||||
Pausing for 60 seconds...
|
|
||||||
EOF
|
|
||||||
sleep 60
|
|
||||||
fi
|
|
||||||
|
|
||||||
cat <<'EOF'
|
cat <<'EOF'
|
||||||
|
|
||||||
Trying to auto discover IPs of this server...
|
Trying to auto discover IPs of this server...
|
||||||
|
Loading…
Reference in New Issue
Block a user