svn commit: r220541 - head/usr.sbin/bsdinstall/scripts

Nathan Whitehorn nwhitehorn at FreeBSD.org
Mon Apr 11 14:46:41 UTC 2011


Author: nwhitehorn
Date: Mon Apr 11 14:46:40 2011
New Revision: 220541
URL: http://svn.freebsd.org/changeset/base/220541

Log:
  Make the keymap script continue to work now that stderr is being
  redirected to the log file.

Modified:
  head/usr.sbin/bsdinstall/scripts/keymap

Modified: head/usr.sbin/bsdinstall/scripts/keymap
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/keymap	Mon Apr 11 14:30:45 2011	(r220540)
+++ head/usr.sbin/bsdinstall/scripts/keymap	Mon Apr 11 14:46:40 2011	(r220541)
@@ -28,5 +28,6 @@
 
 kbdcontrol -d >/dev/null 2>&1
 if [ $? -eq 0 ]; then
-	kbdmap 3>&2 2>&1 1>&3 | grep 'keymap=' > $BSDINSTALL_TMPETC/rc.conf.keymap
+	exec 3>&1
+	kbdmap 2>&1 1>&3 | grep 'keymap=' > $BSDINSTALL_TMPETC/rc.conf.keymap
 fi


More information about the svn-src-all mailing list