fixed flaws i made
This commit is contained in:
parent
3c50a2bbc9
commit
566307bcff
@ -180,7 +180,7 @@ else
|
|||||||
# Autodetect IP address and pre-fill for the user
|
# Autodetect IP address and pre-fill for the user
|
||||||
PUBLICIP=`dig +short myip.opendns.com @resolver1.opendns.com`
|
PUBLICIP=`dig +short myip.opendns.com @resolver1.opendns.com`
|
||||||
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 -i $PUBLICIP PUBLICIP
|
||||||
|
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user