From 0c3ba5d6283376944e0afaa3514e813c928b16a2 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Tue, 22 Apr 2008 15:21:48 +0000 Subject: [PATCH] Change from using a directory check to a file check. This should fix bug #215822. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@668 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- ChangeLog | 5 +++++ generic/initrd.scripts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fc7d705..ea94771 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,11 @@ # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 22 Apr 2008; Chris Gianelloni + generic/initrd.scripts: + Change from using a directory check to a file check. This should fix bug + #215822. + 12 Apr 2008; Chris Gianelloni generic/initrd.defaults: Move removable storage like USB and firewire after traditional fixed storage diff --git a/generic/initrd.scripts b/generic/initrd.scripts index 9bad20e..0e92ea9 100644 --- a/generic/initrd.scripts +++ b/generic/initrd.scripts @@ -507,7 +507,7 @@ setup_keymap() { fi [ ! -e /dev/tty0 ] && ln -s /dev/tty1 /dev/tty0 - [ -d /lib/keymaps/keymapList ] && chooseKeymap + [ -f /lib/keymaps/keymapList ] && chooseKeymap [ "${DEVBIND}" = '1' ] && umount /dev -- 2.26.2