From 566307bcff0fc680c21e9ea720cab3336a50b880 Mon Sep 17 00:00:00 2001 From: Matthew Frost Date: Thu, 8 Aug 2019 14:32:00 +0200 Subject: [PATCH] fixed flaws i made --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index b8c5217..7bba733 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -180,7 +180,7 @@ else # Autodetect IP address and pre-fill for the user PUBLICIP=`dig +short myip.opendns.com @resolver1.opendns.com` 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 -i $PUBLICIP PUBLICIP fi echo