mirror of
https://github.com/mykitserver/docker-ddns-ipv64.git
synced 2025-12-06 16:39:06 +01:00
update
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
DATUM=$(date +%Y-%m-%d\ %H:%M:%S)
|
||||
if ! curl -sSL --user-agent "${CURL_USER_AGENT}" --fail "https://ipv64.net" 2>&1 > /dev/null; then
|
||||
echo "$DATUM FEHLER !!! - 404 Sie haben kein Netzwerk oder Internetzugang oder die Webseite ipv64.net ist nicht erreichbar"
|
||||
exit 0
|
||||
exit 1
|
||||
fi
|
||||
PFAD="/data"
|
||||
IP=$(curl -4ssL --user-agent "${CURL_USER_AGENT}" "https://ipv64.net/update.php?howismyip" | jq -r 'to_entries[] | "\(.value)"')
|
||||
|
||||
Reference in New Issue
Block a user