update xunyou (#47)
This commit is contained in:
parent
244c6fa1d6
commit
51da1b0e96
@ -2,7 +2,7 @@
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_VERSION:=1.0.1-20221219
|
||||
PKG_VERSION:=1.0.2-20230106
|
||||
PKG_RELEASE:=
|
||||
|
||||
LUCI_TITLE:=LuCI support for xunyou
|
||||
|
@ -6,7 +6,7 @@
|
||||
if(st.running){
|
||||
const htmlString = '<br/><em><%:The xunyou service is running.%></em>'
|
||||
+ "<br/><br/><a class=\"btn cbi-button cbi-button-apply\" target=\"_blank\" "
|
||||
+ "href=\"https://pay.xunyou.com/login/router.html?partner=koolshare&salesid=316186107&eid=10699®from=router_web&lanmac="+st.lanmac+"&version=2.0.0.3\" "
|
||||
+ "href=\"https://pay.xunyou.com/login/router.html?partner=koolshare&salesid=336411145&eid=10699®from=router_web&lanmac="+st.lanmac+"&version=2.0.0.3\" "
|
||||
+ "><%:open xunyou%></s>";
|
||||
tb.innerHTML = htmlString;
|
||||
}
|
||||
|
@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
|
||||
PKG_NAME:=xunyou
|
||||
PKG_VERSION:=2.0.1.5
|
||||
PKG_VERSION:=2.0.1.6
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)_v$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://partnerdownload.xunyou.com/routerplugin/koolshare/
|
||||
PKG_HASH:=811d61a2c47e60c26af257061e2ee9f218006108f9f6d1fad9bde6d51a252f08
|
||||
PKG_HASH:=46e300b5fa81404731d8461da51e7cd2954d424c84974908f088e12ba53d03ee
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_v$(PKG_VERSION)
|
||||
|
||||
@ -28,7 +28,7 @@ define Package/$(PKG_NAME)
|
||||
CATEGORY:=Network
|
||||
SUBMENU:=Web Servers/Proxies
|
||||
TITLE:=xunyou
|
||||
DEPENDS:=
|
||||
DEPENDS:=+coreutils-nohup
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/description
|
||||
|
@ -20,7 +20,7 @@ start() {
|
||||
printf "%s" "${device}"
|
||||
)
|
||||
[ -z "$interface" ] && interface=br-lan
|
||||
sh /xunyou/xunyou_daemon.sh start -i "$interface" >/dev/null 2>&1
|
||||
nohup sh /xunyou/xunyou_daemon.sh start -i "$interface" >/dev/null 2>&1
|
||||
else
|
||||
sh /xunyou/xunyou_daemon.sh stop >/dev/null 2>&1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user