mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
samba: move directory creation to busybox or kodi tmpfiles.d
For the logfiles share, the createlog script will create /storage/logfiles before moving the zipped logs there. Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
parent
c77405ed55
commit
5fd5392e6d
@ -2,8 +2,14 @@
|
||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
d /storage/downloads 0755 root root - -
|
||||
d /storage/emulators 0755 root root - -
|
||||
d /storage/music 0755 root root - -
|
||||
d /storage/picons/tvh 0755 root root - -
|
||||
d /storage/picons/vdr 0755 root root - -
|
||||
d /storage/pictures 0755 root root - -
|
||||
d /storage/recordings 0755 root root - -
|
||||
d /storage/screenshots 0755 root root - -
|
||||
d /storage/tvshows 0755 root root - -
|
||||
d /storage/videos 0755 root root - -
|
||||
d /storage/screenshots 0755 root root - -
|
||||
d /storage/.kodi/userdata 0755 root root - -
|
||||
|
@ -53,7 +53,6 @@
|
||||
browseable = yes
|
||||
public = yes
|
||||
writeable = yes
|
||||
root preexec = mkdir -p /storage/.update
|
||||
|
||||
[Videos]
|
||||
path = /storage/videos
|
||||
@ -61,7 +60,6 @@
|
||||
browseable = yes
|
||||
public = yes
|
||||
writeable = yes
|
||||
root preexec = mkdir -p /storage/videos
|
||||
|
||||
[Music]
|
||||
path = /storage/music
|
||||
@ -69,7 +67,6 @@
|
||||
browseable = yes
|
||||
public = yes
|
||||
writeable = yes
|
||||
root preexec = mkdir -p /storage/music
|
||||
|
||||
[TV Shows]
|
||||
path = /storage/tvshows
|
||||
@ -77,7 +74,6 @@
|
||||
browseable = yes
|
||||
public = yes
|
||||
writeable = yes
|
||||
root preexec = mkdir -p /storage/tvshows
|
||||
|
||||
[Recordings]
|
||||
path = /storage/recordings
|
||||
@ -85,7 +81,6 @@
|
||||
browseable = yes
|
||||
public = yes
|
||||
writeable = yes
|
||||
root preexec = mkdir -p /storage/recordings
|
||||
|
||||
[Downloads]
|
||||
path = /storage/downloads
|
||||
@ -93,7 +88,6 @@
|
||||
browseable = yes
|
||||
public = yes
|
||||
writeable = yes
|
||||
root preexec = mkdir -p /storage/downloads
|
||||
|
||||
[Pictures]
|
||||
path = /storage/pictures
|
||||
@ -101,7 +95,6 @@
|
||||
browseable = yes
|
||||
public = yes
|
||||
writeable = yes
|
||||
root preexec = mkdir -p /storage/pictures
|
||||
|
||||
[Emulators]
|
||||
path = /storage/emulators
|
||||
@ -109,7 +102,6 @@
|
||||
browseable = yes
|
||||
public = yes
|
||||
writeable = yes
|
||||
root preexec = mkdir -p /storage/emulators
|
||||
|
||||
[Configfiles]
|
||||
path = /storage/.config
|
||||
@ -117,7 +109,6 @@
|
||||
browseable = yes
|
||||
public = yes
|
||||
writeable = yes
|
||||
root preexec = mkdir -p /storage/.config
|
||||
|
||||
[Userdata]
|
||||
path = /storage/.kodi/userdata
|
||||
@ -125,7 +116,6 @@
|
||||
browseable = yes
|
||||
public = yes
|
||||
writeable = yes
|
||||
root preexec = mkdir -p /storage/.kodi/userdata
|
||||
|
||||
[Screenshots]
|
||||
path = /storage/screenshots
|
||||
@ -133,7 +123,6 @@
|
||||
browseable = yes
|
||||
public = yes
|
||||
writeable = yes
|
||||
root preexec = mkdir -p /storage/screenshots
|
||||
|
||||
[Logfiles]
|
||||
path = /storage/logfiles
|
||||
@ -141,7 +130,6 @@
|
||||
browseable = yes
|
||||
public = yes
|
||||
writeable = yes
|
||||
root preexec = mkdir -p /storage/logfiles
|
||||
root preexec = createlog
|
||||
|
||||
[Backup]
|
||||
@ -150,7 +138,6 @@
|
||||
browseable = yes
|
||||
public = yes
|
||||
writeable = yes
|
||||
root preexec = mkdir -p /storage/backup
|
||||
|
||||
[Picons]
|
||||
path = /storage/picons
|
||||
@ -158,4 +145,3 @@
|
||||
browseable = yes
|
||||
public = yes
|
||||
writeable = yes
|
||||
root preexec = mkdir -p /storage/picons/tvh /storage/picons/vdr
|
||||
|
@ -1,9 +1,11 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2023-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
d /var/media 0755 root root - -
|
||||
|
||||
d /storage/backup 0755 root root - -
|
||||
d /storage/logfiles 0755 root root - -
|
||||
d /storage/.update 0755 root root - -
|
||||
d /storage/.cache/cores 0755 root root - -
|
||||
d /storage/.cache/kernel-overlays 0755 root root - -
|
||||
|
Loading…
x
Reference in New Issue
Block a user