9 lines
122 B
Bash
Executable file
9 lines
122 B
Bash
Executable file
#!/bin/bash
|
|
|
|
(echo "$SMBPW"; echo "$SMBPW") | smbpasswd -sa share
|
|
|
|
if [ $? -eq 0 ]; then
|
|
|
|
smbd -FS --debuglevel=1
|
|
|
|
fi
|