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]
|
||||
server string = OpenELEC.tv Mediacenter(%i)
|
||||
workgroup = WORKGROUP
|
||||
netbios name = openelec
|
||||
security = share
|
||||
guest account = root
|
||||
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
|
||||
wins support = no
|
||||
syslog only = yes
|
||||
|
||||
[Storage]
|
||||
path = /storage
|
||||
# here you can add a writable share of a disk under /storage
|
||||
|
||||
[Update]
|
||||
path = /storage/.update
|
||||
available = yes
|
||||
browsable = yes
|
||||
public = yes
|
||||
writable = yes
|
||||
root preexec = mkdir -p /storage/.update
|
||||
|
||||
# To add a writable share of a disk under /mnt uncomment and edit the
|
||||
# following share declaration
|
||||
# 'mydisk' is the disk name as seen by OpenELEC
|
||||
;[mydisk]
|
||||
; path = /mnt/mydisk
|
||||
; available = yes
|
||||
; browsable = yes
|
||||
; public = yes
|
||||
; writable = yes
|
||||
; root preexec = /usr/bin/rw /mnt/mydisk
|
||||
; root postexec = /usr/bin/ro /mnt/mydisk
|
||||
[Videos]
|
||||
path = /storage/videos
|
||||
available = yes
|
||||
browsable = yes
|
||||
public = yes
|
||||
writable = yes
|
||||
root preexec = mkdir -p /storage/videos
|
||||
|
||||
[Music]
|
||||
path = /storage/music
|
||||
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