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:
Stefan Saraev 2014-08-12 19:54:28 +03:00
parent a8c4f83bc5
commit 7720ff6f6d
2 changed files with 1 additions and 2 deletions

View File

@ -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]

View File

@ -18,4 +18,3 @@
d /run/openelec 0755 root root - -
d /run/openelec/debug 0755 root root - -
d /storage/.config 0755 root root - -