This commit is contained in:
alcapone1933
2022-10-29 06:46:41 +02:00
parent f0ae5e68a4
commit a04e84f4cb

View File

@@ -28,9 +28,9 @@ else
fi
IP=$(curl -4s https://ipv64.net/wieistmeineip.php | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' | tail -n 1)
CHECK=$(curl -4sSL "https://ipv64.net/update.php?key=${DOMAIN_KEY}&domain=${DOMAIN_IPV64}&ip=$IP" | grep -o "success")
# CHECK=$(curl -4sSL "https://ipv64.net/update.php?key=${DOMAIN_KEY}&domain=${DOMAIN_IPV64}&ip=$IP" | grep -o "success")
if [ "$CHECK" = "success" ] ; then
if [ "`curl -4sSL "https://ipv64.net/update.php?key=${DOMAIN_KEY}&domain=${DOMAIN_IPV64}&ip=$IP" | grep -o "success"`" = "success" ] ; then
echo
echo "Die Angaben sind richtig gesetzt : DOMAIN und DOMAIN KEY"
echo