forked from libretro/Lakka-LibreELEC
186 lines
3.4 KiB
Plaintext
186 lines
3.4 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
# samba.conf v4 (do not remove)
|
|
|
|
# This configuration file allows you to customize the samba shares
|
|
# available from your machine
|
|
|
|
[global]
|
|
server string = Lakka
|
|
browseable = yes
|
|
writeable = yes
|
|
printable = no
|
|
deadtime = 30
|
|
mangled names = no
|
|
name resolve order = host bcast
|
|
printcap name = /dev/null
|
|
load printers = no
|
|
enable core files = no
|
|
passdb backend = smbpasswd
|
|
smb encrypt = disabled
|
|
fruit:model = Xserve
|
|
create mask = 0644
|
|
|
|
# samba share options
|
|
map to guest = Bad User
|
|
guest account = root
|
|
security = user
|
|
|
|
# samba tuning options
|
|
socket options = TCP_NODELAY IPTOS_LOWDELAY
|
|
min receivefile size = 16384
|
|
aio read size = 16384
|
|
aio write size = 16384
|
|
use sendfile = yes
|
|
|
|
# The following are default values for the master selection process
|
|
# local master = yes
|
|
# preferred master = auto
|
|
# domain master = auto
|
|
# os level = 20
|
|
|
|
# "strict allocate = yes" breaks large network transfers to external hdd
|
|
# Force this to "no" in case "yes" becomes the default in future
|
|
strict allocate = no
|
|
|
|
# Using the following configurations as a template allows you to add
|
|
# writeable shares of disks and paths under /storage
|
|
|
|
[Assets]
|
|
path = /tmp/assets
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
|
|
[Overlays]
|
|
path = /tmp/overlays
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
|
|
[Update]
|
|
path = /storage/.update
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
root preexec = mkdir -p /storage/.update
|
|
|
|
[Cores]
|
|
path = /tmp/cores
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
|
|
[ROMs]
|
|
path = /storage/roms
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
root preexec = mkdir -p /storage/roms
|
|
|
|
[Playlists]
|
|
path = /storage/playlists
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
|
|
[Savefiles]
|
|
path = /storage/savefiles
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
|
|
[Savestates]
|
|
path = /storage/savestates
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
|
|
[System]
|
|
path = /tmp/system
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
|
|
[Configfiles]
|
|
path = /storage/.config
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
|
|
[Screenshots]
|
|
path = /storage/screenshots
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
|
|
[Shaders]
|
|
path = /tmp/shaders
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
|
|
[Joypads]
|
|
path = /tmp/joypads
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
|
|
[Database]
|
|
path = /tmp/database
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
|
|
[Thumbnails]
|
|
path = /storage/thumbnails
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
|
|
[Remappings]
|
|
path = /storage/remappings
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
|
|
[Logs]
|
|
path = /storage/logfiles
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
|
|
[Services]
|
|
path = /storage/.cache
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
|
|
[Recordings]
|
|
path = /storage/recordings
|
|
available = yes
|
|
browseable = yes
|
|
public = yes
|
|
writeable = yes
|
|
root preexec = mkdir -p /storage/recordings
|