1
0
mirror of https://github.com/systemd/systemd synced 2024-07-09 04:26:06 +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:
Yu Watanabe 2023-07-05 11:00:23 +09:00 committed by Lennart Poettering
parent 49c55abcbe
commit 6750c1af24

View File

@ -10,6 +10,8 @@
[Unit]
Description=Load/Save Screen Backlight Brightness of %i
Documentation=man:systemd-backlight@.service(8)
ConditionPathExists=!/etc/initrd-release
DefaultDependencies=no
Conflicts=shutdown.target
Before=sysinit.target shutdown.target