From: Thomas Bächler Date: Fri, 7 Mar 2014 00:50:34 +0000 (+0100) Subject: units: Do not unescape instance name in systemd-backlight@.service X-Git-Tag: v211~73 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=6c49212741253dae05b89d22374186f092ef1e5a 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 --- diff --git a/units/systemd-backlight@.service.in b/units/systemd-backlight@.service.in index 5caa5d531..e945d8733 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