mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
busybox: be sure /storage/log is a directory
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
3ef6620d9f
commit
3711d4ed0c
@ -8,6 +8,7 @@ ConditionKernelCommandLine=!installer
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStartPre=/bin/sh -c 'if [ ! -d /storage/log ]; then rm -rf /storage/log &>/dev/null; fi'
|
||||
ExecStart=/bin/sh -c 'rm -rf /var/log && mkdir -p /storage/log && ln -sf /storage/log /var/log'
|
||||
RemainAfterExit=yes
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user