remove email notify

This commit is contained in:
tianyu 2016-07-07 22:13:24 +08:00 committed by GitHub
parent 43c9bbaa81
commit c2e9a2f7ff
1 changed files with 0 additions and 1 deletions

View File

@ -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