From 2f7e631785a5dff020463b25a96ce1a6f03ba2ae Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Wed, 11 Oct 2017 21:57:21 +0800 Subject: [PATCH] update adbyby button --- package/lean/luci-app-adbyby-plus/Makefile | 2 +- .../luci-app-adbyby-plus/root/usr/share/adbyby/adupdate.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/lean/luci-app-adbyby-plus/Makefile b/package/lean/luci-app-adbyby-plus/Makefile index d0125d111..4f45f5c05 100644 --- a/package/lean/luci-app-adbyby-plus/Makefile +++ b/package/lean/luci-app-adbyby-plus/Makefile @@ -10,7 +10,7 @@ LUCI_DEPENDS:=+adbyby +wget +ipset +coreutils +coreutils-nohup +dnsmasq-full LUCI_PKGARCH:=all PKG_NAME:=luci-app-adbyby-plus PKG_VERSION:=2.0 -PKG_RELEASE:=21 +PKG_RELEASE:=22 include $(TOPDIR)/feeds/luci/luci.mk diff --git a/package/lean/luci-app-adbyby-plus/root/usr/share/adbyby/adupdate.sh b/package/lean/luci-app-adbyby-plus/root/usr/share/adbyby/adupdate.sh index 83b4a7982..c9030aea7 100755 --- a/package/lean/luci-app-adbyby-plus/root/usr/share/adbyby/adupdate.sh +++ b/package/lean/luci-app-adbyby-plus/root/usr/share/adbyby/adupdate.sh @@ -5,9 +5,9 @@ update_source=$(uci get adbyby.@adbyby[0].update_source 2>/dev/null) rm -f /usr/share/adbyby/data/*.bak if [ $update_source -eq 1 ]; then - wget -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 -t 1 -T 10 -O /tmp/user.action http://update.adbyby.com/rule3/user.action + wget-ssl -t 1 -T 10 -O /tmp/lazy.txt http://update.adbyby.com/rule3/lazy.jpg + wget-ssl -t 1 -T 10 -O /tmp/video.txt http://update.adbyby.com/rule3/video.jpg + wget-ssl -t 1 -T 10 -O /tmp/user.action http://update.adbyby.com/rule3/user.action fi [ ! -s "/tmp/lazy.txt" ] && wget-ssl --no-check-certificate -O /tmp/lazy.txt https://raw.githubusercontent.com/adbyby/xwhyc-rules/master/lazy.txt