Remove the USB keyboard hack now that KBDMUX is enabled by default. Allow

it to be disabled if Safe Mode is selected.
This commit is contained in:
Scott Long 2006-03-31 21:36:17 +00:00
parent 9216fccdd9
commit c2e1d5d04c

View File

@ -40,7 +40,6 @@ variable promptwidth
variable bootkey
variable bootacpikey
variable bootusbkey
variable bootsafekey
variable bootverbosekey
variable bootsinglekey
@ -196,12 +195,6 @@ at-xy ." `--{__________) "
printmenuitem ." Boot FreeBSD in single user mode" bootsinglekey !
printmenuitem ." Boot FreeBSD with verbose logging" bootverbosekey !
printmenuitem ." Escape to loader prompt" escapekey !
s" arch-i386" environment? if
drop
printmenuitem ." Boot FreeBSD with USB keyboard" bootusbkey !
else
-2 bootusbkey !
then
printmenuitem ." Reboot" rebootkey !
menuX @ 20 at-xy
." Select option, [Enter] for default"
@ -267,10 +260,6 @@ set-current
then
0 boot
then
dup bootusbkey @ = if
s" 0x1" s" hint.atkbd.0.flags" setenv
0 boot
then
dup bootsafekey @ = if
s" arch-i386" environment? if
drop
@ -283,6 +272,7 @@ set-current
s" 0" s" hw.ata.atapi_dma" setenv
s" 0" s" hw.ata.wc" setenv
s" 0" s" hw.eisa_slots" setenv
s" 1" s" hint.kbdmux.0.disabled" setenv
0 boot
then
dup bootverbosekey @ = if