diff --git a/package/lean/luci-app-ssr-plus/Makefile b/package/lean/luci-app-ssr-plus/Makefile index aac813eef..3f9a24eb4 100644 --- a/package/lean/luci-app-ssr-plus/Makefile +++ b/package/lean/luci-app-ssr-plus/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-ssr-plus PKG_VERSION:=169 -PKG_RELEASE:=8 +PKG_RELEASE:=9 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) diff --git a/package/lean/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua b/package/lean/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua index a5eff34d9..e19db5490 100644 --- a/package/lean/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua +++ b/package/lean/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua @@ -117,10 +117,10 @@ elseif set == "ip_data" then end luci.sys.exec("rm -f /tmp/china_ssr.txt ") elseif set == "nfip_data" then - refresh_cmd="wget-ssl --no-check-certificate https://cdn.jsdelivr.net/gh/QiuSimons/Netflix_IP/NF_only.txt -O /tmp/netflixip.list" + refresh_cmd="wget-ssl --no-check-certificate -O - https://raw.githubusercontent.com/QiuSimons/Netflix_IP/master/NF_only.txt > /tmp/netflixip.list" sret=luci.sys.call(refresh_cmd) icount = luci.sys.exec("cat /tmp/netflixip.list | wc -l") - if sret== 0 and tonumber(icount)>1000 then + if sret== 0 and tonumber(icount)>1 then oldcount=luci.sys.exec("cat /etc/config/netflixip.list | wc -l") if tonumber(icount) ~= tonumber(oldcount) then luci.sys.exec("cp -f /tmp/netflixip.list /etc/config/netflixip.list") diff --git a/package/lean/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/status.lua b/package/lean/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/status.lua index 7128bbc9c..623f0954b 100644 --- a/package/lean/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/status.lua +++ b/package/lean/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/status.lua @@ -53,7 +53,7 @@ ip_count = sys.exec("cat /etc/china_ssr.txt | wc -l") end if nixio.fs.access("/etc/config/netflixip.list") then - ip_count = sys.exec("cat /etc/config/netflixip.list | wc -l") + nfip_count = sys.exec("cat /etc/config/netflixip.list | wc -l") end local icount=sys.exec("busybox ps -w | grep ssr-reudp |grep -v grep| wc -l")