wsdd2: update config file for ksmbd

Previous commit makes use of ksmbd.conf

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2022-11-04 12:46:22 -07:00
parent c9c5a3637f
commit 7cdc9da02a

View 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 ] && {