mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
userconfig.service: make sure /storage/.config is there
because tmpfiles doesnt work here, as userconfig.service is ordered before=local-fs.target (?!) this also reverts 9de09b450747c14b4a70de8b468c0e9e9c922ed5 thanks to @vpeter4
This commit is contained in:
parent
a8c4f83bc5
commit
7720ff6f6d
@ -6,7 +6,7 @@ Conflicts=shutdown.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c "false | cp -iR /usr/config/* /storage/.config/ &>/dev/null"
|
||||
ExecStart=/bin/sh -c "mkdir -p /storage/.config; false | cp -iR /usr/config/* /storage/.config/ &>/dev/null"
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
|
@ -18,4 +18,3 @@
|
||||
|
||||
d /run/openelec 0755 root root - -
|
||||
d /run/openelec/debug 0755 root root - -
|
||||
d /storage/.config 0755 root root - -
|
||||
|
Loading…
x
Reference in New Issue
Block a user