From 607b54dc2fffe7deab2610a50d6be5b545c36691 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 18 Aug 2022 20:24:09 +0800 Subject: [PATCH] update 2022-08-18 20:24:09 --- ddnsto/Makefile | 2 +- ddnsto/files/ddnsto.init | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ddnsto/Makefile b/ddnsto/Makefile index 014e4f5d5..485c447af 100644 --- a/ddnsto/Makefile +++ b/ddnsto/Makefile @@ -11,7 +11,7 @@ PKG_ARCH_DDNSTO:=$(ARCH) PKG_NAME:=ddnsto PKG_VERSION:=3.0.2 -PKG_RELEASE:=$(PKG_ARCH_DDNSTO)-4 +PKG_RELEASE:=$(PKG_ARCH_DDNSTO)-5 PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://fw.koolcenter.com/binary/ddnsto/ PKG_HASH:=76e6dc6a51176062a625f7bc9931d8709f81146603f5a7da853f1dc9ab2a05a3 diff --git a/ddnsto/files/ddnsto.init b/ddnsto/files/ddnsto.init index 51b0b5754..3a0a497c5 100755 --- a/ddnsto/files/ddnsto.init +++ b/ddnsto/files/ddnsto.init @@ -12,8 +12,12 @@ get_config() { } ddnsto_prepare() { - killall ddnstod 2>/dev/null - killall ddwebdav 2>/dev/null + killall ddnstod 2>/dev/null + killall ddwebdav 2>/dev/null +} + +stop_service() { + ddnsto_prepare } start_service() {