aboutsummaryrefslogtreecommitdiffstats
path: root/udev
diff options
context:
space:
mode:
Diffstat (limited to 'udev')
-rw-r--r--udev/rules.d/10-console.rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/udev/rules.d/10-console.rules b/udev/rules.d/10-console.rules
index e7609c57..f190b3b7 100644
--- a/udev/rules.d/10-console.rules
+++ b/udev/rules.d/10-console.rules
@@ -3,7 +3,8 @@
ACTION!="add", GOTO="console_end"
# Console initialization - keyboard, font, etc.
-KERNEL=="tty0", RUN+="/lib/udev/console_init %k"
+# Systemd does console init itself
+KERNEL=="tty0", TEST{040000}!="/sys/fs/cgroup/systemd", RUN+="/lib/udev/console_init %k"
# Check and set up serial and serial-like consoles if necessary
KERNEL=="console", RUN+="/lib/udev/console_check %k"