summaryrefslogtreecommitdiff
path: root/99-systemd.rules
diff options
context:
space:
mode:
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"