Skip to content

Commit

Permalink
Merge pull request ToyoDAdoubi#28 from sam7894604/patch-2
Browse files Browse the repository at this point in the history
Use www.10010.com to check CU connectivity
  • Loading branch information
ToyoDAdoubiBackup authored Feb 4, 2020
2 parents 9b8f344 + d51e566 commit 1b7cad7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gfw_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ export PATH
#=================================================
# System Required: CentOS/Debian/Ubuntu
# Description: 监测IP是否被墙并推送消息至Telegram
# Version: 1.0.4
# Version: 1.0.5
# Author: Toyo
# Blog: https://doub.io/shell-jc8/
#=================================================

sh_ver="1.0.4"
sh_ver="1.0.5"
filepath=$(cd "$(dirname "$0")"; pwd)
file_1=$(echo -e "${filepath}"|awk -F "$0" '{print $1}')
Crontab_file="/usr/bin/crontab"
CONF="${file_1}/gfw_push.conf"
LOG_file="${file_1}/gfw_push.log"
Test_link="www.189.cn
biz.10010.com
www.10010.com
www.10086.cn"
Test_UA="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Expand Down Expand Up @@ -434,4 +434,4 @@ else
echo "请输入正确数字 [0-8]"
;;
esac
fi
fi

0 comments on commit 1b7cad7

Please sign in to comment.