[systemd-commits] 2 commits - src/99-systemd.rules
Lennart Poettering
lennart at kemper.freedesktop.org
Mon Feb 28 12:51:57 PST 2011
src/99-systemd.rules | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit 0e01075a2bca7a34c9f1a54baa8d585d0521c2ae
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 28 21:47:35 2011 +0100
udev: expose ttyUSB devices too
diff --git a/src/99-systemd.rules b/src/99-systemd.rules
index 2528b28..6a2f97a 100644
--- a/src/99-systemd.rules
+++ b/src/99-systemd.rules
@@ -10,6 +10,7 @@ ACTION!="add|change", GOTO="systemd_end"
SUBSYSTEM=="tty", KERNEL=="tty[0-9]|tty1[0-2]", TAG+="systemd"
SUBSYSTEM=="tty", KERNEL=="ttyS*", TAG+="systemd"
SUBSYSTEM=="tty", KERNEL=="hvc*", TAG+="systemd"
+SUBSYSTEM=="tty", KERNEL=="ttyUSB*", TAG+="systemd"
SUBSYSTEM=="block", KERNEL!="ram*|loop*", TAG+="systemd"
SUBSYSTEM=="block", KERNEL!="ram*|loop*", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", ENV{SYSTEMD_READY}="0"
commit 230e12e3379a4311b939476758b2375f08320aaa
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 28 21:46:34 2011 +0100
udev: mark hvc devices for exposure in systemd
diff --git a/src/99-systemd.rules b/src/99-systemd.rules
index 0ac6d00..2528b28 100644
--- a/src/99-systemd.rules
+++ b/src/99-systemd.rules
@@ -7,8 +7,9 @@
ACTION!="add|change", GOTO="systemd_end"
-KERNEL=="tty[0-9]|tty1[0-2]", TAG+="systemd"
-KERNEL=="ttyS*", TAG+="systemd"
+SUBSYSTEM=="tty", KERNEL=="tty[0-9]|tty1[0-2]", TAG+="systemd"
+SUBSYSTEM=="tty", KERNEL=="ttyS*", TAG+="systemd"
+SUBSYSTEM=="tty", KERNEL=="hvc*", TAG+="systemd"
SUBSYSTEM=="block", KERNEL!="ram*|loop*", TAG+="systemd"
SUBSYSTEM=="block", KERNEL!="ram*|loop*", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", ENV{SYSTEMD_READY}="0"
More information about the systemd-commits
mailing list