mirror of
https://github.com/xdtianyu/scripts.git
synced 2025-09-24 04:59:21 +08:00
remove email notify
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user