From 8634dfc126007653cfc2446648c6c1ea452d251c Mon Sep 17 00:00:00 2001 From: David Personette Date: Sun, 7 Jul 2019 00:33:26 -0400 Subject: [PATCH] samba.sh fix #197 accidental deletion of other VFS objects --- samba.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samba.sh b/samba.sh index 0c28442..75625b3 100755 --- a/samba.sh +++ b/samba.sh @@ -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