diff options
author | Thomas Bächler <thomas@archlinux.org> | 2014-03-07 01:50:34 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-03-07 00:30:56 -0500 |
commit | 6c49212741253dae05b89d22374186f092ef1e5a (patch) | |
tree | 28dd4125b9168e231f89d5abbba60c05e798e145 | |
parent | e2eb18d56b14eeb405706970f0460d8539cdcf23 (diff) |
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
-rw-r--r-- | units/systemd-backlight@.service.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/units/systemd-backlight@.service.in b/units/systemd-backlight@.service.in index 5caa5d531f..e945d8733f 100644 --- a/units/systemd-backlight@.service.in +++ b/units/systemd-backlight@.service.in @@ -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 |