chiark / gitweb /
udev: install rules file that ignore those nasty useless tty devices by default
[elogind.git] / 99-systemd.rules
diff --git a/99-systemd.rules b/99-systemd.rules
new file mode 100644 (file)
index 0000000..c7c2073
--- /dev/null
@@ -0,0 +1,9 @@
+# do not edit this file, it will be overwritten on update
+
+ACTION!="new|change", GOTO="systemd_end"
+
+KERNEL=="tty[0-9]|tty1[0-2]", GOTO="systemd_end"
+
+KERNEL=="tty[0-9]*", ENV{SYSTEMD_EXPOSE}="0"
+
+LABEL="systemd_end"