From d474a634330cdd0806313a5c7d894e7fb7c8ebff Mon Sep 17 00:00:00 2001 From: Nathan Whitehorn Date: Mon, 11 Apr 2011 14:46:40 +0000 Subject: [PATCH] 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 501b1d1dcf07..5c7d12f124f2 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