fix: Error logging for Samba daemon
This commit is contained in:
parent
2b6eebb620
commit
2f1137ebd3
1 changed files with 4 additions and 1 deletions
|
|
@ -75,7 +75,10 @@ fi
|
|||
echo " force group = root"
|
||||
} > "/etc/samba/smb.conf"
|
||||
|
||||
! smbd && smbd --debug-stdout
|
||||
if ! smbd; then
|
||||
error "Samba daemon failed to start!"
|
||||
smbd -i --debug-stdout || true
|
||||
fi
|
||||
|
||||
# Enable Web Service Discovery
|
||||
wsdd -i "$interface" -p -n "$hostname" &
|
||||
|
|
|
|||
Loading…
Reference in a new issue