remove email notify
This commit is contained in:
parent
43c9bbaa81
commit
c2e9a2f7ff
|
@ -57,7 +57,6 @@ echo "$RESULT"
|
||||||
if [ "$(printf "%s" "$RESULT"|grep -c -o "message\":\"success\"")" = 1 ];then
|
if [ "$(printf "%s" "$RESULT"|grep -c -o "message\":\"success\"")" = 1 ];then
|
||||||
echo "$(date) -- Update success"
|
echo "$(date) -- Update success"
|
||||||
echo "LAST_IP=\"$IP\"" > "$LAST_IP_FILE"
|
echo "LAST_IP=\"$IP\"" > "$LAST_IP_FILE"
|
||||||
curl -k -s https://www.xdty.org/mail.php -X POST -d "event=ip($IP) changed&name=$HOST&email=$EMAIL"
|
|
||||||
else
|
else
|
||||||
echo "$(date) -- Update failed"
|
echo "$(date) -- Update failed"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue