[systemd-commits] units/systemd-backlight at .service.in

Zbigniew Jędrzejewski-Szmek zbyszek at kemper.freedesktop.org
Thu Mar 6 21:31:21 PST 2014


 units/systemd-backlight at .service.in |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 6c49212741253dae05b89d22374186f092ef1e5a
Author: Thomas Bächler <thomas at archlinux.org>
Date:   Fri Mar 7 01:50:34 2014 +0100

    units: Do not unescape instance name in systemd-backlight at .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 at .service.in b/units/systemd-backlight at .service.in
index 5caa5d5..e945d87 100644
--- a/units/systemd-backlight at .service.in
+++ b/units/systemd-backlight at .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 at .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



More information about the systemd-commits mailing list