Update setup.sh
This commit is contained in:
40
setup.sh
40
setup.sh
@@ -304,30 +304,30 @@ clean_dev()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ $CMD_LINE -eq 0 ]; then
|
# if [ $CMD_LINE -eq 0 ]; then
|
||||||
|
|
||||||
echo -n "Your external IP: ";
|
# echo -n "Your external IP: ";
|
||||||
wget -q -O - http://myip.directadmin.com
|
# wget -q -O - http://myip.directadmin.com
|
||||||
echo "";
|
# echo "";
|
||||||
echo "The external IP should typically match your license IP.";
|
# echo "The external IP should typically match your license IP.";
|
||||||
echo "";
|
# echo "";
|
||||||
|
|
||||||
if [ "$IP" = "" ]; then
|
# if [ "$IP" = "" ]; then
|
||||||
yesno="n";
|
# yesno="n";
|
||||||
else
|
# else
|
||||||
echo -n "Is $IP the IP in your license? (y,n) : ";
|
# echo -n "Is $IP the IP in your license? (y,n) : ";
|
||||||
read yesno;
|
# read yesno;
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
if [ "$yesno" = "n" ]; then
|
# if [ "$yesno" = "n" ]; then
|
||||||
echo -n "Enter the IP used in your license file : ";
|
# echo -n "Enter the IP used in your license file : ";
|
||||||
read IP;
|
# read IP;
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
if [ "$IP" = "" ]; then
|
# if [ "$IP" = "" ]; then
|
||||||
echo "The IP entered is blank. Please try again, and enter a valid IP";
|
# echo "The IP entered is blank. Please try again, and enter a valid IP";
|
||||||
fi
|
# fi
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
############
|
############
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user