Advertisement
Guest User

Untitled

a guest
Sep 17th, 2017
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.45 KB | None | 0 0
  1. ################################################################################
  2. # This file is part of LibreELEC - https://libreelec.tv
  3. # Copyright (C) 2017-present Team LibreELEC
  4. #
  5. # LibreELEC is free software: you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation, either version 2 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # LibreELEC is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
  17. ################################################################################
  18. # samba.conf v4 (do not remove)
  19.  
  20. # This configuration file allows you to customize the samba shares
  21. # available from your machine
  22.  
  23. [global]
  24. server string = LibreELEC
  25. browseable = yes
  26. writeable = yes
  27. printable = no
  28. deadtime = 30
  29. mangled names = no
  30. name resolve order = host bcast
  31. printcap name = /dev/null
  32. load printers = no
  33. encrypt passwords = true
  34. enable core files = no
  35. passdb backend = smbpasswd
  36. smb encrypt = disabled
  37.  
  38. # samba share options
  39. map to guest = Bad User
  40. guest account = root
  41. security = user
  42.  
  43. # samba tuning options
  44. socket options = TCP_NODELAY IPTOS_LOWDELAY
  45. min receivefile size = 16384
  46. aio read size = 16384
  47. aio write size = 16384
  48. use sendfile = yes
  49.  
  50. # The following are default values for the master selection process
  51. # local master = yes
  52. # preferred master = auto
  53. # domain master = auto
  54. # os level = 20
  55.  
  56. # "strict allocate = yes" breaks large network transfers to external hdd
  57. # Force this to "no" in case "yes" becomes the default in future
  58. strict allocate = no
  59.  
  60. allocation roundup size = 0
  61.  
  62. # Using the following configurations as a template allows you to add
  63. # writable shares of disks and paths under /storage
  64.  
  65. [Update]
  66. path = /storage/.update
  67. available = yes
  68. browsable = yes
  69. public = yes
  70. writable = yes
  71. root preexec = mkdir -p /storage/.update
  72.  
  73. [Videos]
  74. path = /storage/videos
  75. available = yes
  76. browsable = yes
  77. public = yes
  78. writable = yes
  79. root preexec = mkdir -p /storage/videos
  80.  
  81. [Music]
  82. path = /storage/music
  83. available = yes
  84. browsable = yes
  85. public = yes
  86. writable = yes
  87. root preexec = mkdir -p /storage/music
  88.  
  89. [TV Shows]
  90. path = /storage/tvshows
  91. available = yes
  92. browsable = yes
  93. public = yes
  94. writable = yes
  95. root preexec = mkdir -p /storage/tvshows
  96.  
  97. [Recordings]
  98. path = /storage/recordings
  99. available = yes
  100. browsable = yes
  101. public = yes
  102. writable = yes
  103. root preexec = mkdir -p /storage/recordings
  104.  
  105. [Downloads]
  106. path = /storage/downloads
  107. available = yes
  108. browsable = yes
  109. public = yes
  110. writable = yes
  111. root preexec = mkdir -p /storage/downloads
  112.  
  113. [Pictures]
  114. path = /storage/pictures
  115. available = yes
  116. browsable = yes
  117. public = yes
  118. writable = yes
  119. root preexec = mkdir -p /storage/pictures
  120.  
  121. [Emulators]
  122. path = /storage/emulators
  123. available = yes
  124. browsable = yes
  125. public = yes
  126. writable = yes
  127. root preexec = mkdir -p /storage/emulators
  128.  
  129. [Configfiles]
  130. path = /storage/.config
  131. available = yes
  132. browsable = yes
  133. public = yes
  134. writable = yes
  135. root preexec = mkdir -p /storage/.config
  136.  
  137. [Userdata]
  138. path = /storage/.kodi/userdata
  139. available = yes
  140. browsable = yes
  141. public = yes
  142. writable = yes
  143. root preexec = mkdir -p /storage/.kodi/userdata
  144.  
  145. [Screenshots]
  146. path = /storage/screenshots
  147. available = yes
  148. browsable = yes
  149. public = yes
  150. writable = yes
  151. root preexec = mkdir -p /storage/screenshots
  152.  
  153. [Logfiles]
  154. path = /storage/logfiles
  155. available = yes
  156. browsable = yes
  157. public = yes
  158. writable = yes
  159. root preexec = mkdir -p /storage/logfiles
  160. root preexec = createlog
  161.  
  162. [Backup]
  163. path = /storage/backup
  164. available = yes
  165. browsable = yes
  166. public = yes
  167. writable = yes
  168. root preexec = mkdir -p /storage/backup
  169.  
  170. [Picons]
  171. path = /storage/picons
  172. available = yes
  173. browsable = yes
  174. public = yes
  175. writable = yes
  176. root preexec = mkdir -p /storage/picons/tvh /storage/picons/vdr
  177.  
  178. [KODI]
  179. path = /storage/.kodi
  180. available = yes
  181. browsable = yes
  182. public = yes
  183. writable = yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement