UX improvements
This commit is contained in:
parent
20d99ec146
commit
32f98937d2
1 changed files with 3 additions and 2 deletions
|
|
@ -225,6 +225,8 @@ else
|
||||||
echo "This server is behind NAT. What is the public IPv4 address or hostname?"
|
echo "This server is behind NAT. What is the public IPv4 address or hostname?"
|
||||||
read -p "Public IP address / hostname: " -e PUBLICIP
|
read -p "Public IP address / hostname: " -e PUBLICIP
|
||||||
fi
|
fi
|
||||||
|
echo ""
|
||||||
|
echo "Checking for IPv6 connectivity..."
|
||||||
ping6 -c4 ipv6.google.com > /dev/null 2>&1;
|
ping6 -c4 ipv6.google.com > /dev/null 2>&1;
|
||||||
echo ""
|
echo ""
|
||||||
if [[ $? == 0 ]]; then
|
if [[ $? == 0 ]]; then
|
||||||
|
|
@ -233,9 +235,8 @@ else
|
||||||
echo "Your host does not appear to have IPv6 connectivity."
|
echo "Your host does not appear to have IPv6 connectivity."
|
||||||
fi
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
echo "Do you want to enable IPv6 support?"
|
|
||||||
while [[ $IPV6 != "y" && $IPV6 != "n" ]]; do
|
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
|
done
|
||||||
echo ""
|
echo ""
|
||||||
echo "What port do you want for OpenVPN?"
|
echo "What port do you want for OpenVPN?"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue