mirror of
https://github.com/mykitserver/docker-ddns-ipv64.git
synced 2025-12-08 01:18:58 +01:00
fix
This commit is contained in:
@@ -28,9 +28,9 @@ else
|
|||||||
fi
|
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)
|
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
|
||||||
echo "Die Angaben sind richtig gesetzt : DOMAIN und DOMAIN KEY"
|
echo "Die Angaben sind richtig gesetzt : DOMAIN und DOMAIN KEY"
|
||||||
echo
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user