mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +00:00
samba:
- add some usefull shares to smb.conf - specify workgroup for better handling with windows - specify netbios name for better handling with windows
This commit is contained in:
parent
6fb6da0b24
commit
9dd340e40e
@ -1,26 +1,75 @@
|
|||||||
[global]
|
[global]
|
||||||
server string = OpenELEC.tv Mediacenter(%i)
|
server string = OpenELEC.tv Mediacenter(%i)
|
||||||
|
workgroup = WORKGROUP
|
||||||
|
netbios name = openelec
|
||||||
security = share
|
security = share
|
||||||
guest account = root
|
guest account = root
|
||||||
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
|
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
|
||||||
wins support = no
|
wins support = no
|
||||||
syslog only = yes
|
syslog only = yes
|
||||||
|
|
||||||
[Storage]
|
# here you can add a writable share of a disk under /storage
|
||||||
path = /storage
|
|
||||||
|
[Update]
|
||||||
|
path = /storage/.update
|
||||||
available = yes
|
available = yes
|
||||||
browsable = yes
|
browsable = yes
|
||||||
public = yes
|
public = yes
|
||||||
writable = yes
|
writable = yes
|
||||||
|
root preexec = mkdir -p /storage/.update
|
||||||
|
|
||||||
# To add a writable share of a disk under /mnt uncomment and edit the
|
[Videos]
|
||||||
# following share declaration
|
path = /storage/videos
|
||||||
# 'mydisk' is the disk name as seen by OpenELEC
|
available = yes
|
||||||
;[mydisk]
|
browsable = yes
|
||||||
; path = /mnt/mydisk
|
public = yes
|
||||||
; available = yes
|
writable = yes
|
||||||
; browsable = yes
|
root preexec = mkdir -p /storage/videos
|
||||||
; public = yes
|
|
||||||
; writable = yes
|
[Music]
|
||||||
; root preexec = /usr/bin/rw /mnt/mydisk
|
path = /storage/music
|
||||||
; root postexec = /usr/bin/ro /mnt/mydisk
|
available = yes
|
||||||
|
browsable = yes
|
||||||
|
public = yes
|
||||||
|
writable = yes
|
||||||
|
root preexec = mkdir -p /storage/music
|
||||||
|
|
||||||
|
[TV Shows]
|
||||||
|
path = /storage/tvshows
|
||||||
|
available = yes
|
||||||
|
browsable = yes
|
||||||
|
public = yes
|
||||||
|
writable = yes
|
||||||
|
root preexec = mkdir -p /storage/tvshows
|
||||||
|
|
||||||
|
[Downloads]
|
||||||
|
path = /storage/downloads
|
||||||
|
available = yes
|
||||||
|
browsable = yes
|
||||||
|
public = yes
|
||||||
|
writable = yes
|
||||||
|
root preexec = mkdir -p /storage/downloads
|
||||||
|
|
||||||
|
[Pictures]
|
||||||
|
path = /storage/pictures
|
||||||
|
available = yes
|
||||||
|
browsable = yes
|
||||||
|
public = yes
|
||||||
|
writable = yes
|
||||||
|
root preexec = mkdir -p /storage/pictures
|
||||||
|
|
||||||
|
[Configfiles]
|
||||||
|
path = /storage/.config
|
||||||
|
available = yes
|
||||||
|
browsable = yes
|
||||||
|
public = yes
|
||||||
|
writable = yes
|
||||||
|
root preexec = mkdir -p /storage/.config
|
||||||
|
|
||||||
|
[Screenshots]
|
||||||
|
path = /storage/screenshots
|
||||||
|
available = yes
|
||||||
|
browsable = yes
|
||||||
|
public = yes
|
||||||
|
writable = yes
|
||||||
|
root preexec = mkdir -p /storage/screenshots
|
||||||
|
Loading…
x
Reference in New Issue
Block a user