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

redirected to the log file.
This commit is contained in:
Nathan Whitehorn 2011-04-11 14:46:40 +00:00
parent 299a8b95ac
commit d474a63433

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