Update setup.sh

This commit is contained in:
tuend-work
2025-11-13 11:30:03 +07:00
parent 585bff665c
commit a1cb058090

View File

@@ -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
############