wsdd2: update for renamed smbd->ksmbd 11132/head
authorAndy Walsh <andy.walsh44+github@gmail.com>
Sun, 26 Jan 2020 15:42:13 +0000 (16:42 +0100)
committerAndy Walsh <andy.walsh44+github@gmail.com>
Sun, 26 Jan 2020 15:42:13 +0000 (16:42 +0100)
* update for renamed smbd->ksmbd

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
net/wsdd2/Makefile
net/wsdd2/files/wsdd2.init

index 6b1e5dc41e9c1528ab3b964601027d2ece120477..b4c14c465fcca91d742f9bdacb975d44bec8a127 100644 (file)
@@ -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
index a8d5fe5ad8f95f9381043db8f411a9f1502f5ec6..6474b0cda09f59a4d26903b486f6bd1e6bda9445 100644 (file)
@@ -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