From 8c6f74db3b2a0040bebb59f172aee85e0173a953 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sat, 19 May 2012 12:31:08 +0100 Subject: i18n: Run console_init prior to udev startup. In some cases udev will initialised the encrypted disks and ask for a password before it initialises the console. This can result in the password for encrypted partitions being asked for with the wrong keymap loaded. --- modules.d/10i18n/i18n-pre-udev.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 modules.d/10i18n/i18n-pre-udev.sh diff --git a/modules.d/10i18n/i18n-pre-udev.sh b/modules.d/10i18n/i18n-pre-udev.sh new file mode 100755 index 0000000..2033948 --- /dev/null +++ b/modules.d/10i18n/i18n-pre-udev.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- +# ex: ts=8 sw=4 sts=4 et filetype=sh + +if [ -x /lib/udev/console_init -a -e /dev/tty0 ]; then + /lib/udev/console_init /dev/tty0 +fi -- cgit v1.2.1