[systemd-commits] stable Branch 'v208-stable' - rules/99-systemd.rules.in

Zbigniew Jędrzejewski-Szmek zbyszek at kemper.freedesktop.org
Fri Jun 20 05:13:24 PDT 2014


 rules/99-systemd.rules.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d0ca64ab1a4de121b022bd9c4f4b9fc8382883b1
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Fri Jun 20 08:10:36 2014 -0400

    Fix instance argument for systemd-backlight at .service
    
    When backporting patches, I lost "backlight:" in the udev rule.

diff --git a/rules/99-systemd.rules.in b/rules/99-systemd.rules.in
index dd6e7f1..713e052 100644
--- a/rules/99-systemd.rules.in
+++ b/rules/99-systemd.rules.in
@@ -57,8 +57,8 @@ ACTION=="add", SUBSYSTEM=="net", KERNEL!="lo", RUN+="@rootlibexecdir@/systemd-sy
 # Pull in backlight save/restore for all backlight devices and
 # keyboard backlights
 
-SUBSYSTEM=="backlight", TAG+="systemd", IMPORT{builtin}="path_id", ENV{SYSTEMD_WANTS}+="systemd-backlight@$name.service"
-SUBSYSTEM=="leds", KERNEL=="*kbd_backlight", TAG+="systemd", IMPORT{builtin}="path_id", ENV{SYSTEMD_WANTS}+="systemd-backlight@$name.service"
+SUBSYSTEM=="backlight", TAG+="systemd", IMPORT{builtin}="path_id", ENV{SYSTEMD_WANTS}+="systemd-backlight at backlight:$name.service"
+SUBSYSTEM=="leds", KERNEL=="*kbd_backlight", TAG+="systemd", IMPORT{builtin}="path_id", ENV{SYSTEMD_WANTS}+="systemd-backlight at leds:$name.service"
 
 # Asynchronously mount file systems implemented by these modules as
 # soon as they are loaded.



More information about the systemd-commits mailing list