wsdd2: update config file for ksmbd
authorRosen Penev <rosenp@gmail.com>
Fri, 4 Nov 2022 19:46:22 +0000 (12:46 -0700)
committerRosen Penev <rosenp@gmail.com>
Sun, 6 Nov 2022 20:39:03 +0000 (12:39 -0800)
Previous commit makes use of ksmbd.conf

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/wsdd2/files/wsdd2.init

index b9d01a8c3bce8382a6ca5de2a3f5ed16d7976897..e3df25e2d167e6bdac4c6f381f0ef00fc189e8b3 100644 (file)
@@ -16,8 +16,8 @@ start_service() {
        # needs long delay, otherwise service may not register correctly on stratup/reboot (not sure what the issues is?)
        sleep 5
 
-       if [ -e /etc/ksmbd/smb.conf ] && [ -e /etc/init.d/ksmbd ] && /etc/init.d/ksmbd running; then
-               SMB_CONF="/etc/ksmbd/smb.conf"
+       if [ -e /etc/ksmbd/ksmbd.conf ] && [ -e /etc/init.d/ksmbd ] && /etc/init.d/ksmbd running; then
+               SMB_CONF="/etc/ksmbd/ksmbd.conf"
        fi
 
        [ -e /etc/samba/smb.conf ] && {