1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 02:51:50 +00:00

Remove omr-tracker IP that doesn't answer

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-02-25 14:29:15 +01:00
parent f6b547f753
commit d07bf2ed77

View file

@ -55,7 +55,12 @@ if [ "$(uci -q get omr-tracker.proxy.hosts | grep '103.224.182.242')" != "" ]; t
del_list omr-tracker.proxy.hosts='103.224.182.242'
del_list omr-tracker.proxy.hosts='198.191.250.176'
add_list omr-tracker.proxy.hosts='74.82.42.42'
add_list omr-tracker.proxy.hosts='176.103.130.130'
commit omr-tracker
EOF
fi
if [ "$(uci -q get omr-tracker.proxy.hosts | grep '176.103.130.130')" != "" ]; then
uci -q batch <<-EOF >/dev/null
del_list omr-tracker.proxy.hosts='176.103.130.130'
commit omr-tracker
EOF
fi