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