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