Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2011 14:22:38 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r226058 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201110061422.p96EMc6L064245@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110061422.p96EMc6L064245>