mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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:
parent
ac21b32911
commit
0df15e32bf
13
etc/rc
13
etc/rc
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user