From 07ecac56dae906bd1e2968a0ad1e27e68766b422 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 29 Oct 2010 18:38:55 +0200 Subject: [PATCH] 10i18n/parse-i18n.sh: run console_init directly if /dev/tty0 exists --- modules.d/10i18n/parse-i18n.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules.d/10i18n/parse-i18n.sh b/modules.d/10i18n/parse-i18n.sh index 0f267e645..0a58cc27a 100755 --- a/modules.d/10i18n/parse-i18n.sh +++ b/modules.d/10i18n/parse-i18n.sh @@ -30,3 +30,10 @@ if [ -f /etc/locale.conf ]; then export LANG export LC_ALL fi + +if [ -e /dev/tty0 ]; then + # if the device already exists, yes + # clear the udev rules and run it + /lib/udev/console_init /dev/tty0 + > /etc/udev/rules.d/10-console.rules +fi -- 2.47.3