samba-container/run.sh

10 lines
122 B
Bash
Raw Permalink Normal View History

#!/bin/bash
(echo "$SMBPW"; echo "$SMBPW") | smbpasswd -sa share
if [ $? -eq 0 ]; then
2023-02-28 21:50:48 +00:00
smbd -FS --debuglevel=1
fi