mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-20 18:15:30 +08:00
luci-app-ssr-plus: list update url (#1967)
* luci-app-ssr-plus: update url * ipset-lists: update url
This commit is contained in:
parent
cf9699e194
commit
73a49f7225
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
china_routes_ipip()
|
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}'
|
cat ipip.txt | xargs netmask | awk '{print $1}'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
generate_china_banned()
|
generate_china_banned()
|
||||||
{
|
{
|
||||||
if [ ! -f gfwlist.txt ]; then
|
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
|
cat gfwlist.b64 | base64 -d > gfwlist.txt
|
||||||
rm -f gfwlist.b64
|
rm -f gfwlist.b64
|
||||||
fi
|
fi
|
||||||
|
@ -13,7 +13,7 @@ fi
|
|||||||
|
|
||||||
/usr/share/shadowsocksr/chinaipset.sh
|
/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
|
/usr/bin/ssr-gfw
|
||||||
|
|
||||||
if [ -s "/tmp/gfwnew.txt" ];then
|
if [ -s "/tmp/gfwnew.txt" ];then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user