1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Use ip instead of website

This commit is contained in:
Ycarus 2018-05-13 21:24:27 +02:00
parent b26c636f0d
commit 3bc3a9b1d7
2 changed files with 13 additions and 8 deletions

View file

@ -8,11 +8,13 @@ log() {
logger -p daemon.info -t "${basename}" "$@"
}
timeout=${OMR_TRACKER_TIMEOUT:-1}
timeout=${OMR_TRACKER_TIMEOUT:-2}
interval=${OMR_TRACKER_INTERVAL:-10}
retry=${OMR_TRACKER_TRIES:-2}
retry=${OMR_TRACKER_TRIES:-4}
proxy=${OMR_TRACKER_PROXY:-127.0.0.1:1111}
hosts=${OMR_TRACKER_HOSTS:-google.com bing.com}
hosts=${OMR_TRACKER_HOSTS:-1.1.1.1 23.96.52.53}
nodns=0
last=0
@ -27,6 +29,5 @@ while true; do
/etc/init.d/shadowsocks-libev rules_down 2> /dev/null
last=0
fi
sleep "${interval}"
done