luci-app-ssr-plus: list update url (#1967)

* luci-app-ssr-plus: update url

* ipset-lists: update url
This commit is contained in:
LGA1150 2019-11-03 11:48:51 +08:00 committed by coolsnowwolf
parent cf9699e194
commit 73a49f7225
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
china_routes_ipip()
{
[ -f ipip.txt ] || wget -4 https://raw.githubusercontent.com/17mon/china_ip_list/master/china_ip_list.txt -O ipip.txt >&2 || exit 1
[ -f ipip.txt ] || wget -4 https://cdn.jsdelivr.net/gh/17mon/china_ip_list/china_ip_list.txt -O ipip.txt >&2 || exit 1
cat ipip.txt | xargs netmask | awk '{print $1}'
}

View File

@ -3,7 +3,7 @@
generate_china_banned()
{
if [ ! -f gfwlist.txt ]; then
wget https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt -O gfwlist.b64 >&2
wget https://cdn.jsdelivr.net/gh/gfwlist/gfwlist/gfwlist.txt -O gfwlist.b64 >&2
cat gfwlist.b64 | base64 -d > gfwlist.txt
rm -f gfwlist.b64
fi

View File

@ -13,7 +13,7 @@ fi
/usr/share/shadowsocksr/chinaipset.sh
wget-ssl --no-check-certificate https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt -O /tmp/gfw.b64
wget-ssl --no-check-certificate https://cdn.jsdelivr.net/gh/gfwlist/gfwlist/gfwlist.txt -O /tmp/gfw.b64
/usr/bin/ssr-gfw
if [ -s "/tmp/gfwnew.txt" ];then
@ -23,4 +23,4 @@ if [ -s "/tmp/gfwnew.txt" ];then
fi
fi
/etc/init.d/shadowsocksr restart
/etc/init.d/shadowsocksr restart