mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-10 14:22:05 +08:00
update adbyby button
This commit is contained in:
parent
2c436ddb77
commit
2f7e631785
@ -10,7 +10,7 @@ LUCI_DEPENDS:=+adbyby +wget +ipset +coreutils +coreutils-nohup +dnsmasq-full
|
|||||||
LUCI_PKGARCH:=all
|
LUCI_PKGARCH:=all
|
||||||
PKG_NAME:=luci-app-adbyby-plus
|
PKG_NAME:=luci-app-adbyby-plus
|
||||||
PKG_VERSION:=2.0
|
PKG_VERSION:=2.0
|
||||||
PKG_RELEASE:=21
|
PKG_RELEASE:=22
|
||||||
|
|
||||||
include $(TOPDIR)/feeds/luci/luci.mk
|
include $(TOPDIR)/feeds/luci/luci.mk
|
||||||
|
|
||||||
|
@ -5,9 +5,9 @@ update_source=$(uci get adbyby.@adbyby[0].update_source 2>/dev/null)
|
|||||||
rm -f /usr/share/adbyby/data/*.bak
|
rm -f /usr/share/adbyby/data/*.bak
|
||||||
|
|
||||||
if [ $update_source -eq 1 ]; then
|
if [ $update_source -eq 1 ]; then
|
||||||
wget -t 1 -T 10 -O /tmp/lazy.txt http://update.adbyby.com/rule3/lazy.jpg
|
wget-ssl -t 1 -T 10 -O /tmp/lazy.txt http://update.adbyby.com/rule3/lazy.jpg
|
||||||
wget -t 1 -T 10 -O /tmp/video.txt http://update.adbyby.com/rule3/video.jpg
|
wget-ssl -t 1 -T 10 -O /tmp/video.txt http://update.adbyby.com/rule3/video.jpg
|
||||||
wget -t 1 -T 10 -O /tmp/user.action http://update.adbyby.com/rule3/user.action
|
wget-ssl -t 1 -T 10 -O /tmp/user.action http://update.adbyby.com/rule3/user.action
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ ! -s "/tmp/lazy.txt" ] && wget-ssl --no-check-certificate -O /tmp/lazy.txt https://raw.githubusercontent.com/adbyby/xwhyc-rules/master/lazy.txt
|
[ ! -s "/tmp/lazy.txt" ] && wget-ssl --no-check-certificate -O /tmp/lazy.txt https://raw.githubusercontent.com/adbyby/xwhyc-rules/master/lazy.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user