Work around a FreeBSD usb keyboard bug (multiple keyboard mux) by spawning a menu on the 2nd vty allowing the user to ALT-F2 to the menu on usb keyboards.

Yes this is ugly.   But at the moment this is all we can do.
This commit is contained in:
Scott Ullrich 2005-10-08 18:33:38 +00:00
parent ac21b32911
commit 0df15e32bf

13
etc/rc
View File

@ -209,4 +209,17 @@ rm -rf /usr/local/pkg/pf/CVS
echo "Bootup complete"
if [ -e /dev/ukbd0 ]; then
echo
echo "Working around a USB Keyboard bug in FreeBSD"
echo
echo "Bringing up the menu on ALT-F2 vty console..."
echo
echo "Press ALT + F2 to switch to the pfSense menu."
echo
/etc/rc.initial 2>/dev/ttyv1 </dev/ttyv1 >/dev/ttyv1
sleep 1
/usr/sbin/vidcontrol -s 1
fi
exit 0