summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-28 21:46:34 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-28 21:51:34 +0100
commit230e12e3379a4311b939476758b2375f08320aaa (patch)
treefa0ecf9c9b9fede0288b4c5072ec287ea34011ac
parentdd5e696d93f70bbfaf8423682e7731fefa83f828 (diff)
udev: mark hvc devices for exposure in systemd
-rw-r--r--src/99-systemd.rules5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/99-systemd.rules b/src/99-systemd.rules
index 0ac6d0023f..2528b282d2 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"