mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
fix
This commit is contained in:
parent
903f8e19e7
commit
03e1981fe0
62 changed files with 1710 additions and 0 deletions
10
luci-app-adbyby-plus/root/usr/share/adbyby/adblock.sh
Executable file
10
luci-app-adbyby-plus/root/usr/share/adbyby/adblock.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
uclient-fetch --no-check-certificate -O - 'https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt' > /tmp/adnew.conf
|
||||
if [ -s "/tmp/adnew.conf" ];then
|
||||
/usr/share/adbyby/ad-update
|
||||
fi
|
||||
|
||||
rm -f /tmp/adbyby.updated
|
||||
sleep 10
|
||||
/etc/init.d/adbyby restart
|
||||
Loading…
Add table
Add a link
Reference in a new issue