svn commit: r226058 - head/usr.sbin/bsdinstall/scripts
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Thu Oct 6 14:22:38 UTC 2011
Author: nwhitehorn
Date: Thu Oct 6 14:22:38 2011
New Revision: 226058
URL: http://svn.freebsd.org/changeset/base/226058
Log:
Ask if you want to set the keymap before invoking kdbmap to prevent
confusion.
PR: bin/160913
MFC after: 3 days
Modified:
head/usr.sbin/bsdinstall/scripts/keymap
Modified: head/usr.sbin/bsdinstall/scripts/keymap
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/keymap Thu Oct 6 11:48:13 2011 (r226057)
+++ head/usr.sbin/bsdinstall/scripts/keymap Thu Oct 6 14:22:38 2011 (r226058)
@@ -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
More information about the svn-src-head
mailing list