From 5d38179c29282bca01a53480ce9c5ac7cf25fbc4 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 10 Mar 2008 22:37:35 -0400 Subject: Add a helper that checks for serial and serial-like consoles This works by doing checks from udev that emit upstart events. upstart listens to these events and starts a getty if needed. --- udev/rules.d/10-console.rules | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'udev') diff --git a/udev/rules.d/10-console.rules b/udev/rules.d/10-console.rules index da0cfe0d..6e8c4587 100644 --- a/udev/rules.d/10-console.rules +++ b/udev/rules.d/10-console.rules @@ -1 +1,9 @@ +# Console initialization - keyboard, font, etc. KERNEL=="tty0", 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" +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" -- cgit v1.2.1