添加easylist,更换hosts源
parent
220e0dbeb5
commit
e76c51d792
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
|
||||
source /etc/profile
|
||||
|
||||
cd $(dirname $(readlink -f "$0"))
|
||||
echo '开始下载 easylist1...'
|
||||
wget -O easylistchina+easylist.txt https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt
|
||||
|
||||
if [ $? -ne 0 ];then
|
||||
echo '下载失败,请重试'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo '开始下载 easylist2...'
|
||||
wget -O koolproxy.txt https://kprule.com/koolproxy.txt
|
||||
|
||||
if [ $? -ne 0 ];then
|
||||
echo '下载失败,请重试'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
php make-addr.php
|
Loading…
Reference in New Issue