mirror of
https://github.com/mykitserver/docker-ddns-ipv64.git
synced 2025-12-07 00:48:52 +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 -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)
|
||||
|
||||
Reference in New Issue
Block a user