Ask if you want to set the keymap before invoking kdbmap to prevent

confusion.

PR:		bin/160913
MFC after:	3 days
This commit is contained in:
nwhitehorn 2011-10-06 14:22:38 +00:00
parent 1b1d84970a
commit 1370be3878

View File

@ -28,6 +28,8 @@
kbdcontrol -d >/dev/null 2>&1
if [ $? -eq 0 ]; then
dialog --backtitle "FreeBSD Installer" --title "Keymap Selection" \
--yesno "Would you like to set a non-default key mapping for your keyboard?" 0 0 || exit 0
exec 3>&1
kbdmap 2>&1 1>&3 | grep 'keymap=' > $BSDINSTALL_TMPETC/rc.conf.keymap
fi