summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-04-11 14:46:40 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-04-11 14:46:40 +0000
commit751ab3dd4f5c77e068597bea00e45ee9e3444455 (patch)
tree5a3f3e0677266567aec92fa355ebcb6059169404
parent5d68dd33d3569d898ce0f04a5239f2e8572c23ee (diff)
downloadFreeBSD-src-751ab3dd4f5c77e068597bea00e45ee9e3444455.zip
FreeBSD-src-751ab3dd4f5c77e068597bea00e45ee9e3444455.tar.gz
Make the keymap script continue to work now that stderr is being
redirected to the log file.
-rwxr-xr-xusr.sbin/bsdinstall/scripts/keymap3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/keymap b/usr.sbin/bsdinstall/scripts/keymap
index 501b1d1..5c7d12f 100755
--- a/usr.sbin/bsdinstall/scripts/keymap
+++ b/usr.sbin/bsdinstall/scripts/keymap
@@ -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
OpenPOWER on IntegriCloud