diff options
author | Colin Guthrie <colin@mageia.org> | 2012-05-19 12:31:08 +0100 |
---|---|---|
committer | Jybz <j.biernacki@free.fr> | 2024-04-20 20:07:40 +0200 |
commit | 8c6f74db3b2a0040bebb59f172aee85e0173a953 (patch) | |
tree | 46a4aac1e73656a34ce481d0d6649e167d09ab6b | |
parent | 045536a6b8f79b7430fcf45ab43a9ca09307ad54 (diff) | |
download | mageia-dracut-conf-8c6f74db3b2a0040bebb59f172aee85e0173a953.tar mageia-dracut-conf-8c6f74db3b2a0040bebb59f172aee85e0173a953.tar.gz mageia-dracut-conf-8c6f74db3b2a0040bebb59f172aee85e0173a953.tar.bz2 mageia-dracut-conf-8c6f74db3b2a0040bebb59f172aee85e0173a953.tar.xz mageia-dracut-conf-8c6f74db3b2a0040bebb59f172aee85e0173a953.zip |
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.
-rwxr-xr-x | modules.d/10i18n/i18n-pre-udev.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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 |