diff --git a/vpnsetup.sh b/vpnsetup.sh index 799c5aa..eb76ef3 100755 --- a/vpnsetup.sh +++ b/vpnsetup.sh @@ -70,10 +70,12 @@ cat 1>&2 <<'EOF' DO NOT RUN THIS SCRIPT ON YOUR PC OR MAC! -If running on a server, you may fix this error by first -setting this variable and re-run the script: +If running on a server, try this workaround: -export VPN_IFACE="$(route | grep '^default' | grep -o '[^ ]*$')" +VPN_IFACE="$(route | grep '^default' | grep -o '[^ ]*$')" +EOF +cat 1>&2 <&2 <<'EOF' DO NOT RUN THIS SCRIPT ON YOUR PC OR MAC! -If running on a server, you may fix this error by first -setting this variable and re-run the script: +If running on a server, try this workaround: -export VPN_IFACE="$(route | grep '^default' | grep -o '[^ ]*$')" +VPN_IFACE="$(route | grep '^default' | grep -o '[^ ]*$')" +EOF +cat 1>&2 <