mirror of
https://github.com/systemd/systemd.git
synced 2025-03-25 18:50:18 +03:00
units: Do not unescape instance name in systemd-backlight@.service
The instance name is never escaped in the udev rule, but unescaped in the unit. This results in the following error message on Asus boards: Failed to get backlight or LED device 'backlight:eeepc/wmi': No such file or directory
This commit is contained in:
parent
e2eb18d56b
commit
6c49212741
Notes:
Zbigniew Jędrzejewski-Szmek
2014-03-07 00:31:09 -05:00
Backport: bugfix
@ -6,7 +6,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Load/Save Screen Backlight Brightness of %I
|
||||
Description=Load/Save Screen Backlight Brightness of %i
|
||||
Documentation=man:systemd-backlight@.service(8)
|
||||
DefaultDependencies=no
|
||||
RequiresMountsFor=/var/lib/systemd/backlight
|
||||
@ -17,5 +17,5 @@ Before=sysinit.target shutdown.target
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=@rootlibexecdir@/systemd-backlight load %I
|
||||
ExecStop=@rootlibexecdir@/systemd-backlight save %I
|
||||
ExecStart=@rootlibexecdir@/systemd-backlight load %i
|
||||
ExecStop=@rootlibexecdir@/systemd-backlight save %i
|
||||
|
Loading…
x
Reference in New Issue
Block a user