summaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2004-10-30 13:45:13 +0000
committerBrooks Davis <brooks@FreeBSD.org>2004-10-30 13:45:13 +0000
commit923a1dc3d17852b83b38c021cec58106b850ae9b (patch)
tree52bf857163561db80ab39912a5fefc4b6ebcd464 /sys/boot
parent1f8197cf4d1485f4ae8a7381c0a286b47b61caf6 (diff)
downloadsrc-test2-923a1dc3d17852b83b38c021cec58106b850ae9b.tar.gz
src-test2-923a1dc3d17852b83b38c021cec58106b850ae9b.zip
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/forth/beastie.4th10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/boot/forth/beastie.4th b/sys/boot/forth/beastie.4th
index 8b727a2f347c..824d2df63344 100644
--- a/sys/boot/forth/beastie.4th
+++ b/sys/boot/forth/beastie.4th
@@ -40,6 +40,7 @@ variable promptwidth
variable bootkey
variable bootacpikey
+variable bootusbkey
variable bootsafekey
variable bootverbosekey
variable bootsinglekey
@@ -159,6 +160,11 @@ at-xy ." `--{__________) " 1+
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
+ printmenuitem ." Boot FreeBSD with USB keyboard" bootusbkey !
+ else
+ -2 bootacpikey !
+ then
printmenuitem ." Reboot" rebootkey !
menuX @ 20 at-xy
." Select option, [Enter] for default"
@@ -223,6 +229,10 @@ 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
s" acpi_load" unsetenv