mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
samba: fix synonyms in a custom config
This commit is contained in:
parent
00ba45170f
commit
5332b5dd90
@ -30,6 +30,9 @@ SAMBA_MAXPROTOCOL=SMB3
|
|||||||
|
|
||||||
. /storage/.cache/services/samba.conf
|
. /storage/.cache/services/samba.conf
|
||||||
|
|
||||||
|
# fixup synonyms
|
||||||
|
sed -i 's/browsable/browseable/g; s/writable/writeable/g' $SMB_CONF
|
||||||
|
|
||||||
# handle external drives
|
# handle external drives
|
||||||
if [ "$SAMBA_AUTOSHARE" == "true" ] ; then
|
if [ "$SAMBA_AUTOSHARE" == "true" ] ; then
|
||||||
for dir in /media/* ; do
|
for dir in /media/* ; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user