diff --git a/net/ksmbd-tools/Makefile b/net/ksmbd-tools/Makefile index 2b137347b..ad74c28e0 100644 --- a/net/ksmbd-tools/Makefile +++ b/net/ksmbd-tools/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ksmbd-tools PKG_VERSION:=3.4.2 -PKG_RELEASE:=1 +PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/cifsd-team/ksmbd-tools/tar.gz/$(PKG_VERSION)? diff --git a/net/ksmbd-tools/files/ksmbd.init b/net/ksmbd-tools/files/ksmbd.init index 2c296b10b..7c628e826 100644 --- a/net/ksmbd-tools/files/ksmbd.init +++ b/net/ksmbd-tools/files/ksmbd.init @@ -151,7 +151,7 @@ start_service() fi # NOTE: We don't do a soft-reload via signal, since [global] smb.conf setting changes will be ignored, so always reset hard. - kill_server + [ -e /sys/module/ksmbd ] && stop_service [ ! -e /sys/module/ksmbd ] && modprobe ksmbd 2> /dev/null if [ ! -e /sys/module/ksmbd ]; then