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 09:01:27 +02:00
committed by Lennart Poettering
parent 49c55abcbe
commit 6750c1af24
+2
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