Make the keymap script continue to work now that stderr is being

redirected to the log file.
This commit is contained in:
nwhitehorn 2011-04-11 14:46:40 +00:00
parent 5d68dd33d3
commit 751ab3dd4f

View File

@ -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