samba.sh fix #268

This commit is contained in:
David Personette 2020-03-23 12:42:09 -04:00
parent 9a8de2e023
commit 2016e1369d

View File

@ -128,7 +128,7 @@ share() { local share="$1" path="$2" browsable="${3:-yes}" ro="${4:-yes}" \
# none)
# Return: result
smb() { local file=/etc/samba/smb.conf
sed -i '/min protocol/d' $file
sed -i 's/\([^#]*min protocol *=\).*/\1 LANMAN1/' $file
}
### user: add a user