diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-08-14 02:55:57 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-08-14 02:55:57 +0200 |
commit | 875c6e1b48f37a07dfbb80d6653c73f205e94260 (patch) | |
tree | 92f0810adac8e3387c7a9dd66cdcf47d6629fbff /rules | |
parent | 3731acf1acfb4a6eb68374a5b137f3b368f63381 (diff) |
backlight: instead of syspath use sysname for identifying backlight devices
This makes the description string of the backlight service a bit nicer.
Diffstat (limited to 'rules')
-rw-r--r-- | rules/99-systemd.rules.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/99-systemd.rules.in b/rules/99-systemd.rules.in index ac4bc86c81..bbb7d0c2c3 100644 --- a/rules/99-systemd.rules.in +++ b/rules/99-systemd.rules.in @@ -53,7 +53,7 @@ ACTION=="add", SUBSYSTEM=="net", KERNEL!="lo", RUN+="@rootlibexecdir@/systemd-sy # Pull in backlight save/restore for all firmware backlight devices -ACTION=="add", SUBSYSTEM=="backlight", ATTR{type}=="firmware", TAG+="systemd", ENV{SYSTEMD_WANTS}+="systemd-backlight@sys%p.service" +ACTION=="add", SUBSYSTEM=="backlight", ATTR{type}=="firmware", TAG+="systemd", ENV{SYSTEMD_WANTS}+="systemd-backlight@$name.service" # Asynchronously mount file systems implemented by these modules as # soon as they are loaded. |