summaryrefslogtreecommitdiff
path: root/99-systemd.rules
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-15 23:41:48 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-15 23:41:48 +0200
commit09e80b16f2f9ee14949baee519b097a0962ff2ba (patch)
tree25ef299d932b230140bdbe76a0d7805f932b7201 /99-systemd.rules
parent09477267f6b353ab607be55e59d2924187d401c4 (diff)
device: only expose devices with SYSTEMD_EXPOSE=1, ignore all others
Diffstat (limited to '99-systemd.rules')
-rw-r--r--99-systemd.rules6
1 files changed, 3 insertions, 3 deletions
diff --git a/99-systemd.rules b/99-systemd.rules
index 1de03a1e17..b8d2d31af9 100644
--- a/99-systemd.rules
+++ b/99-systemd.rules
@@ -17,8 +17,8 @@
ACTION!="add|change", GOTO="systemd_end"
-KERNEL=="tty[0-9]|tty1[0-2]", GOTO="systemd_end"
-
-KERNEL=="tty[0-9]*", ENV{SYSTEMD_EXPOSE}="0"
+KERNEL=="tty[0-9]|tty1[0-2]", ENV{SYSTEMD_EXPOSE}="1"
+KERNEL=="ttyS*", ENV{SYSTEMD_EXPOSE}="1"
+SUBSYSTEM=="block", ENV{SYSTEMD_EXPOSE}="1"
LABEL="systemd_end"