Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 268468 | Differences between
and this patch

Collapse All | Expand All

(-)initrd.scripts.orig (+3 lines)
Lines 490-495 Link Here
490
	good_msg "Loading keymaps"
490
	good_msg "Loading keymaps"
491
	if [ -z "${keymap}" ]
491
	if [ -z "${keymap}" ]
492
	then
492
	then
493
		splash 'verbose' > /dev/null &
493
		cat /lib/keymaps/keymapList
494
		cat /lib/keymaps/keymapList
494
		read -t 10 -p '<< Load keymap (Enter for default): ' keymap
495
		read -t 10 -p '<< Load keymap (Enter for default): ' keymap
495
		case ${keymap} in
496
		case ${keymap} in
Lines 550-559 Link Here
550
		mkdir -p /etc/sysconfig
551
		mkdir -p /etc/sysconfig
551
#		echo "XKEYBOARD=${xkeymap}" > /etc/sysconfig/keyboard
552
#		echo "XKEYBOARD=${xkeymap}" > /etc/sysconfig/keyboard
552
		echo "XKEYBOARD=${keymap}" > /etc/sysconfig/keyboard
553
		echo "XKEYBOARD=${keymap}" > /etc/sysconfig/keyboard
554
		splash set_msg "Set keymap to ${keymap}"
553
	elif [ -z "${keymap}" ]
555
	elif [ -z "${keymap}" ]
554
	then
556
	then
555
		echo
557
		echo
556
		good_msg "Keeping default keymap"
558
		good_msg "Keeping default keymap"
559
		splash set_msg "Keeping default keymap"
557
	else
560
	else
558
		bad_msg "Sorry, but keymap ''${keymap}'' is invalid!"
561
		bad_msg "Sorry, but keymap ''${keymap}'' is invalid!"
559
		unset keymap
562
		unset keymap

Return to bug 268468