From c6027c4dfe7afb8bc778710353ce33c5c68c1951 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Oct 2021 08:58:47 +0800 Subject: [PATCH] update-10.09 --- aliyundrive-webdav/Makefile | 2 +- aliyundrive-webdav/files/aliyundrive-webdav.init | 2 +- luci-app-aliyundrive-webdav/Makefile | 2 +- .../luasrc/model/cbi/aliyundrive-webdav/client.lua | 4 ---- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/aliyundrive-webdav/Makefile b/aliyundrive-webdav/Makefile index e6f44db31..40680d3c8 100644 --- a/aliyundrive-webdav/Makefile +++ b/aliyundrive-webdav/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=aliyundrive-webdav -PKG_VERSION:=0.4.2 +PKG_VERSION:=0.4.3 PKG_RELEASE:=1 PKG_LICENSE:=MIT diff --git a/aliyundrive-webdav/files/aliyundrive-webdav.init b/aliyundrive-webdav/files/aliyundrive-webdav.init index 7be1d164e..b015cb0e6 100755 --- a/aliyundrive-webdav/files/aliyundrive-webdav.init +++ b/aliyundrive-webdav/files/aliyundrive-webdav.init @@ -52,5 +52,5 @@ start_service() { } service_triggers() { - procd_add_reload_trigger "/etc/config/$NAME" + procd_add_reload_trigger "aliyundrive-webdav" } diff --git a/luci-app-aliyundrive-webdav/Makefile b/luci-app-aliyundrive-webdav/Makefile index 873dfcfee..7f076153a 100644 --- a/luci-app-aliyundrive-webdav/Makefile +++ b/luci-app-aliyundrive-webdav/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-aliyundrive-webdav -PKG_VERSION:=0.4.2 +PKG_VERSION:=0.4.3 PKG_RELEASE:=1 PKG_PO_VERSION:=$(PKG_VERSION)-$(PKG_RELEASE) diff --git a/luci-app-aliyundrive-webdav/luasrc/model/cbi/aliyundrive-webdav/client.lua b/luci-app-aliyundrive-webdav/luasrc/model/cbi/aliyundrive-webdav/client.lua index 517317969..9c0d10eb8 100644 --- a/luci-app-aliyundrive-webdav/luasrc/model/cbi/aliyundrive-webdav/client.lua +++ b/luci-app-aliyundrive-webdav/luasrc/model/cbi/aliyundrive-webdav/client.lua @@ -45,8 +45,4 @@ no_trash.rmempty = false debug = e:option(Flag, "debug", translate("Debug Mode")) debug.rmempty = false -local e = luci.http.formvalue("cbi.apply") -if e then - io.popen("/etc/init.d/aliyundrive-webdav restart") -end return m