mirror of
https://github.com/systemd/systemd
synced 2024-10-15 12:34:37 +00:00
unit: also condition out systemd-backlight in initrd
Follow-up for 9173d31dfea5c2b05ff08480972c499cb7aac940. The systemd-backlight@.service also save/restore state but the data is in /var/.
This commit is contained in:
parent
49c55abcbe
commit
6750c1af24
|
@ -10,6 +10,8 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Load/Save Screen Backlight Brightness of %i
|
Description=Load/Save Screen Backlight Brightness of %i
|
||||||
Documentation=man:systemd-backlight@.service(8)
|
Documentation=man:systemd-backlight@.service(8)
|
||||||
|
ConditionPathExists=!/etc/initrd-release
|
||||||
|
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
Before=sysinit.target shutdown.target
|
Before=sysinit.target shutdown.target
|
||||||
|
|
Loading…
Reference in a new issue