mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
service.openelec.settings: add missing service file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
59dbdf7192
commit
9c952b0044
@ -0,0 +1,17 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Factory reset
|
||||||
|
DefaultDependencies=false
|
||||||
|
After=show-version.service
|
||||||
|
Before=local-fs-pre.target shutdown.target
|
||||||
|
Conflicts=shutdown.target
|
||||||
|
|
||||||
|
ConditionPathExists=|/storage/.cache/reset_oe
|
||||||
|
ConditionPathExists=|/storage/.cache/reset_xbmc
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/lib/openelec/factory-reset
|
||||||
|
StandardOutput=tty
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=local-fs-pre.target
|
Loading…
x
Reference in New Issue
Block a user