|
Zbigniew Jędrzejewski-Szmek |
e106c4 |
From 9a3296571683a6a3eaee44d18db91ca113841da6 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
From: Lennart Poettering <lennart@poettering.net>
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
Date: Wed, 16 Oct 2013 02:51:24 +0200
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
Subject: [PATCH] rules: don't limit some of the rules to the "add" action
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
Devices should show up in systemd regardless whether the user invoked
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
"udevadm trigger" or not. Before this change some devices might have
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
suddenly disappeared due issuing that command.
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
Conflicts:
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
rules/99-systemd.rules.in
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
rules/99-systemd.rules.in | 6 +++---
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
diff --git a/rules/99-systemd.rules.in b/rules/99-systemd.rules.in
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
index 3c99475..307f18f 100644
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
--- a/rules/99-systemd.rules.in
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
+++ b/rules/99-systemd.rules.in
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
@@ -53,12 +53,12 @@ ACTION=="add", SUBSYSTEM=="net", KERNEL!="lo", RUN+="@rootlibexecdir@/systemd-sy
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
# Pull in backlight save/restore for all firmware backlight devices
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
-ACTION=="add", SUBSYSTEM=="backlight", ATTR{type}=="firmware", TAG+="systemd", ENV{SYSTEMD_WANTS}+="systemd-backlight@$name.service"
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
+SUBSYSTEM=="backlight", ATTR{type}=="firmware", TAG+="systemd", ENV{SYSTEMD_WANTS}+="systemd-backlight@$name.service"
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
# Asynchronously mount file systems implemented by these modules as
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
# soon as they are loaded.
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
-SUBSYSTEM=="module", KERNEL=="fuse", ACTION=="add", TAG+="systemd", ENV{SYSTEMD_WANTS}+="sys-fs-fuse-connections.mount"
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
-SUBSYSTEM=="module", KERNEL=="configfs", ACTION=="add", TAG+="systemd", ENV{SYSTEMD_WANTS}+="sys-kernel-config.mount"
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
+SUBSYSTEM=="module", KERNEL=="fuse", TAG+="systemd", ENV{SYSTEMD_WANTS}+="sys-fs-fuse-connections.mount"
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
+SUBSYSTEM=="module", KERNEL=="configfs", TAG+="systemd", ENV{SYSTEMD_WANTS}+="sys-kernel-config.mount"
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
LABEL="systemd_end"
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
--
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
1.8.4.652.g0d6e0ce
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|