From 32f98937d2f417244db0650c67ce1a46a0676952 Mon Sep 17 00:00:00 2001 From: angristan Date: Sun, 16 Sep 2018 16:54:18 +0200 Subject: [PATCH] UX improvements --- openvpn-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index c470630..dc31e7f 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -225,6 +225,8 @@ else echo "This server is behind NAT. What is the public IPv4 address or hostname?" read -p "Public IP address / hostname: " -e PUBLICIP fi + echo "" + echo "Checking for IPv6 connectivity..." ping6 -c4 ipv6.google.com > /dev/null 2>&1; echo "" if [[ $? == 0 ]]; then @@ -233,9 +235,8 @@ else echo "Your host does not appear to have IPv6 connectivity." fi echo "" - echo "Do you want to enable IPv6 support?" while [[ $IPV6 != "y" && $IPV6 != "n" ]]; do - read -p "IPv6 support? [y/n]: " -e -i n IPV6 + read -p "Do you want to enable IPv6 support? [y/n]: " -e -i n IPV6 done echo "" echo "What port do you want for OpenVPN?"