fix: Log samba to stdout

This commit is contained in:
Kroese 2024-03-26 02:30:59 +01:00 committed by GitHub
parent daf5c08a17
commit 11a60e048e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ SAMBA="/etc/samba/smb.conf"
echo " security = user"
echo " guest account = nobody"
echo " map to guest = Bad User"
echo " server min protocol = SMB2"
echo " server min protocol = NT1"
echo ""
echo " # disable printing services"
echo " load printers = no"
@ -61,7 +61,9 @@ SAMBA="/etc/samba/smb.conf"
echo ""
} | unix2dos > "$SHARE/readme.txt"
smbd -D
! smbd && smbd --debug-stdout
# Enable Web Service Discovery
wsdd -i dockerbridge -p -n "host.lan" &
return 0