samba.sh fix #197 accidental deletion of other VFS objects
This commit is contained in:
parent
e14098dbbe
commit
8634dfc126
2
samba.sh
2
samba.sh
@ -81,7 +81,7 @@ perms() { local i file=/etc/samba/smb.conf
|
|||||||
# none)
|
# none)
|
||||||
# Return: result
|
# Return: result
|
||||||
recycle() { local file=/etc/samba/smb.conf
|
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
|
### share: Add share
|
||||||
|
Loading…
Reference in New Issue
Block a user