From: Harald Hoyer Date: Fri, 29 Oct 2010 16:38:55 +0000 (+0200) Subject: 10i18n/parse-i18n.sh: run console_init directly if /dev/tty0 exists X-Git-Tag: 008~73 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=07ecac56dae906bd1e2968a0ad1e27e68766b422;p=thirdparty%2Fdracut.git 10i18n/parse-i18n.sh: run console_init directly if /dev/tty0 exists --- 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