diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-08-18 15:29:20 +0200 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-08-19 17:07:11 -0400 |
commit | 6b548207e870f4e0d51937b0ae6e82f0e3d92dc5 (patch) | |
tree | cfd0fd92a6cdc281dae0cbb3fa3d63d8e4430333 | |
parent | f27b9adb57c38b296add2f5ee8bfed47cfdd013a (diff) | |
download | initscripts-6b548207e870f4e0d51937b0ae6e82f0e3d92dc5.tar initscripts-6b548207e870f4e0d51937b0ae6e82f0e3d92dc5.tar.gz initscripts-6b548207e870f4e0d51937b0ae6e82f0e3d92dc5.tar.bz2 initscripts-6b548207e870f4e0d51937b0ae6e82f0e3d92dc5.tar.xz initscripts-6b548207e870f4e0d51937b0ae6e82f0e3d92dc5.zip |
udev: make sure to initialize console only once
Otherwise an "udevadm trigger" which sends out change events for all
devices might cause X11 to be confused because the console is reset
beneath it.
-rw-r--r-- | udev/rules.d/10-console.rules | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/udev/rules.d/10-console.rules b/udev/rules.d/10-console.rules index 6e8c4587..e7609c57 100644 --- a/udev/rules.d/10-console.rules +++ b/udev/rules.d/10-console.rules @@ -1,3 +1,7 @@ +# do not edit this file, it will be overwritten on update + +ACTION!="add", GOTO="console_end" + # Console initialization - keyboard, font, etc. KERNEL=="tty0", RUN+="/lib/udev/console_init %k" @@ -7,3 +11,5 @@ KERNEL=="ttySG*", RUN+="/lib/udev/console_check %k" KERNEL=="xvc*", RUN+="/lib/udev/console_check %k" KERNEL=="hvsi*", RUN+="/lib/udev/console_check %k" KERNEL=="hvc*", RUN+="/lib/udev/console_check %k" + +LABEL="console_end" |