chiark / gitweb /
vconsole: match on vtcon events, not fbcon ones
[elogind.git] / src / vconsole / 90-vconsole.rules.in
index 062009640c9751014346c6b23a8f46856a40fcf6..35b9ad5151a751746d8f8ecada14d1a5404448b3 100644 (file)
@@ -5,7 +5,6 @@
 #  the Free Software Foundation; either version 2.1 of the License, or
 #  (at your option) any later version.
 
-# Kernel resets vconsole state when changing console drivers so run
-# systemd-vconsole-setup when fbcon loads
-
-ACTION=="add", SUBSYSTEM=="graphics", KERNEL=="fbcon", RUN+="@rootlibexecdir@/systemd-vconsole-setup"
+# Each vtcon keeps its own state of fonts.
+#
+ACTION=="add", SUBSYSTEM=="vtconsole", KERNEL=="vtcon*", RUN+="@rootlibexecdir@/systemd-vconsole-setup"