samba.sh fix #197 accidental deletion of other VFS objects

This commit is contained in:
David Personette 2019-07-07 00:33:26 -04:00
parent e14098dbbe
commit 8634dfc126

View File

@ -81,7 +81,7 @@ perms() { local i file=/etc/samba/smb.conf
# none)
# Return: result
recycle() { local file=/etc/samba/smb.conf
sed -i '/recycle/d; /vfs/d' $file
sed -i '/recycle:/d; /vfs objects/s/ recycle / /' $file
}
### share: Add share