# Distributed under the GPL v2
# $Id$
+ 20 Feb 2010; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts:
+ Apply patches from Gentoo bug #268468
+
19 Jan 2010; Andrew Gaffney <agaffney@gentoo.org> genkernel:
Only call set_bootloader is CMD_NOINSTALL is not set for Gentoo bug
#301454
then
eval $1 >/dev/null 2>/dev/null
else
+ splash 'verbose' > /dev/null &
eval $1
+ if [ $? -eq 0 ]
+ then
+ splash set_msg 'Disk unlocked.'
+ fi
fi
}
good_msg "Loading keymaps"
if [ -z "${keymap}" ]
then
+ splash 'verbose' > /dev/null &
cat /lib/keymaps/keymapList
read -t 10 -p '<< Load keymap (Enter for default): ' keymap
case ${keymap} in
mkdir -p /etc/sysconfig
# echo "XKEYBOARD=${xkeymap}" > /etc/sysconfig/keyboard
echo "XKEYBOARD=${keymap}" > /etc/sysconfig/keyboard
+ splash set_msg "Set keymap to ${keymap}"
elif [ -z "${keymap}" ]
then
echo
good_msg "Keeping default keymap"
+ splash set_msg "Keeping default keymap"
else
bad_msg "Sorry, but keymap ''${keymap}'' is invalid!"
unset keymap