diff --git a/data/entrypoint.sh b/data/entrypoint.sh index 7f2915b..ad442ec 100644 --- a/data/entrypoint.sh +++ b/data/entrypoint.sh @@ -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