From 751ab3dd4f5c77e068597bea00e45ee9e3444455 Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Mon, 11 Apr 2011 14:46:40 +0000 Subject: Make the keymap script continue to work now that stderr is being redirected to the log file. --- usr.sbin/bsdinstall/scripts/keymap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.1