From f27a6e42d1022226584b38b1d12f393009132e99 Mon Sep 17 00:00:00 2001 From: Andy Walsh Date: Sun, 26 Jan 2020 16:42:13 +0100 Subject: [PATCH] wsdd2: update for renamed smbd->ksmbd * update for renamed smbd->ksmbd Signed-off-by: Andy Walsh --- net/wsdd2/Makefile | 2 +- net/wsdd2/files/wsdd2.init | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/wsdd2/Makefile b/net/wsdd2/Makefile index 6b1e5dc41..b4c14c465 100644 --- a/net/wsdd2/Makefile +++ b/net/wsdd2/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wsdd2 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/Andy2244/wsdd2.git diff --git a/net/wsdd2/files/wsdd2.init b/net/wsdd2/files/wsdd2.init index a8d5fe5ad..6474b0cda 100644 --- a/net/wsdd2/files/wsdd2.init +++ b/net/wsdd2/files/wsdd2.init @@ -13,8 +13,8 @@ start_service() { . /lib/functions/network.sh - if [ -e /etc/smbd/smb.conf ] && [ -e /etc/init.d/smbd ] && /etc/init.d/smbd running; then - SMB_CONF="/etc/smbd/smb.conf" + if [ -e /etc/ksmbd/smb.conf ] && [ -e /etc/init.d/ksmbd ] && /etc/init.d/ksmbd running; then + SMB_CONF="/etc/ksmbd/smb.conf" fi if [ -e /etc/samba/smb.conf ]; then @@ -26,7 +26,7 @@ start_service() { fi if [ -z "$SMB_CONF" ]; then - logger -p daemon.error -t 'wsdd2' "samba36/4 or smbd is not running, can't start wsdd2!" + logger -p daemon.error -t 'wsdd2' "samba36/4 or ksmbd is not running, can't start wsdd2!" exit 1 fi