mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +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) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.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/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/pictures 0755 root root - -
|
||||||
|
d /storage/recordings 0755 root root - -
|
||||||
|
d /storage/screenshots 0755 root root - -
|
||||||
d /storage/tvshows 0755 root root - -
|
d /storage/tvshows 0755 root root - -
|
||||||
d /storage/videos 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
|
browseable = yes
|
||||||
public = yes
|
public = yes
|
||||||
writeable = yes
|
writeable = yes
|
||||||
root preexec = mkdir -p /storage/.update
|
|
||||||
|
|
||||||
[Videos]
|
[Videos]
|
||||||
path = /storage/videos
|
path = /storage/videos
|
||||||
@ -61,7 +60,6 @@
|
|||||||
browseable = yes
|
browseable = yes
|
||||||
public = yes
|
public = yes
|
||||||
writeable = yes
|
writeable = yes
|
||||||
root preexec = mkdir -p /storage/videos
|
|
||||||
|
|
||||||
[Music]
|
[Music]
|
||||||
path = /storage/music
|
path = /storage/music
|
||||||
@ -69,7 +67,6 @@
|
|||||||
browseable = yes
|
browseable = yes
|
||||||
public = yes
|
public = yes
|
||||||
writeable = yes
|
writeable = yes
|
||||||
root preexec = mkdir -p /storage/music
|
|
||||||
|
|
||||||
[TV Shows]
|
[TV Shows]
|
||||||
path = /storage/tvshows
|
path = /storage/tvshows
|
||||||
@ -77,7 +74,6 @@
|
|||||||
browseable = yes
|
browseable = yes
|
||||||
public = yes
|
public = yes
|
||||||
writeable = yes
|
writeable = yes
|
||||||
root preexec = mkdir -p /storage/tvshows
|
|
||||||
|
|
||||||
[Recordings]
|
[Recordings]
|
||||||
path = /storage/recordings
|
path = /storage/recordings
|
||||||
@ -85,7 +81,6 @@
|
|||||||
browseable = yes
|
browseable = yes
|
||||||
public = yes
|
public = yes
|
||||||
writeable = yes
|
writeable = yes
|
||||||
root preexec = mkdir -p /storage/recordings
|
|
||||||
|
|
||||||
[Downloads]
|
[Downloads]
|
||||||
path = /storage/downloads
|
path = /storage/downloads
|
||||||
@ -93,7 +88,6 @@
|
|||||||
browseable = yes
|
browseable = yes
|
||||||
public = yes
|
public = yes
|
||||||
writeable = yes
|
writeable = yes
|
||||||
root preexec = mkdir -p /storage/downloads
|
|
||||||
|
|
||||||
[Pictures]
|
[Pictures]
|
||||||
path = /storage/pictures
|
path = /storage/pictures
|
||||||
@ -101,7 +95,6 @@
|
|||||||
browseable = yes
|
browseable = yes
|
||||||
public = yes
|
public = yes
|
||||||
writeable = yes
|
writeable = yes
|
||||||
root preexec = mkdir -p /storage/pictures
|
|
||||||
|
|
||||||
[Emulators]
|
[Emulators]
|
||||||
path = /storage/emulators
|
path = /storage/emulators
|
||||||
@ -109,7 +102,6 @@
|
|||||||
browseable = yes
|
browseable = yes
|
||||||
public = yes
|
public = yes
|
||||||
writeable = yes
|
writeable = yes
|
||||||
root preexec = mkdir -p /storage/emulators
|
|
||||||
|
|
||||||
[Configfiles]
|
[Configfiles]
|
||||||
path = /storage/.config
|
path = /storage/.config
|
||||||
@ -117,7 +109,6 @@
|
|||||||
browseable = yes
|
browseable = yes
|
||||||
public = yes
|
public = yes
|
||||||
writeable = yes
|
writeable = yes
|
||||||
root preexec = mkdir -p /storage/.config
|
|
||||||
|
|
||||||
[Userdata]
|
[Userdata]
|
||||||
path = /storage/.kodi/userdata
|
path = /storage/.kodi/userdata
|
||||||
@ -125,7 +116,6 @@
|
|||||||
browseable = yes
|
browseable = yes
|
||||||
public = yes
|
public = yes
|
||||||
writeable = yes
|
writeable = yes
|
||||||
root preexec = mkdir -p /storage/.kodi/userdata
|
|
||||||
|
|
||||||
[Screenshots]
|
[Screenshots]
|
||||||
path = /storage/screenshots
|
path = /storage/screenshots
|
||||||
@ -133,7 +123,6 @@
|
|||||||
browseable = yes
|
browseable = yes
|
||||||
public = yes
|
public = yes
|
||||||
writeable = yes
|
writeable = yes
|
||||||
root preexec = mkdir -p /storage/screenshots
|
|
||||||
|
|
||||||
[Logfiles]
|
[Logfiles]
|
||||||
path = /storage/logfiles
|
path = /storage/logfiles
|
||||||
@ -141,7 +130,6 @@
|
|||||||
browseable = yes
|
browseable = yes
|
||||||
public = yes
|
public = yes
|
||||||
writeable = yes
|
writeable = yes
|
||||||
root preexec = mkdir -p /storage/logfiles
|
|
||||||
root preexec = createlog
|
root preexec = createlog
|
||||||
|
|
||||||
[Backup]
|
[Backup]
|
||||||
@ -150,7 +138,6 @@
|
|||||||
browseable = yes
|
browseable = yes
|
||||||
public = yes
|
public = yes
|
||||||
writeable = yes
|
writeable = yes
|
||||||
root preexec = mkdir -p /storage/backup
|
|
||||||
|
|
||||||
[Picons]
|
[Picons]
|
||||||
path = /storage/picons
|
path = /storage/picons
|
||||||
@ -158,4 +145,3 @@
|
|||||||
browseable = yes
|
browseable = yes
|
||||||
public = yes
|
public = yes
|
||||||
writeable = 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
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
# 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 /var/media 0755 root root - -
|
||||||
|
|
||||||
d /storage/backup 0755 root root - -
|
d /storage/backup 0755 root root - -
|
||||||
|
d /storage/logfiles 0755 root root - -
|
||||||
d /storage/.update 0755 root root - -
|
d /storage/.update 0755 root root - -
|
||||||
d /storage/.cache/cores 0755 root root - -
|
d /storage/.cache/cores 0755 root root - -
|
||||||
d /storage/.cache/kernel-overlays 0755 root root - -
|
d /storage/.cache/kernel-overlays 0755 root root - -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user