diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-15 23:41:48 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-15 23:41:48 +0200 |
commit | 09e80b16f2f9ee14949baee519b097a0962ff2ba (patch) | |
tree | 25ef299d932b230140bdbe76a0d7805f932b7201 /99-systemd.rules | |
parent | 09477267f6b353ab607be55e59d2924187d401c4 (diff) |
device: only expose devices with SYSTEMD_EXPOSE=1, ignore all others
Diffstat (limited to '99-systemd.rules')
-rw-r--r-- | 99-systemd.rules | 6 |
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" |