[PATCH] change beastie menu to support booting on R3000 laptop
David O'Brien
obrien at freebsd.org
Fri Mar 25 11:41:13 PST 2005
I'd like to change the beastie.4th menu to have a "safe" keyboard option
instead of a USB specific one. This changes hint.atkbd.0.flags from 0x1
to 0x9. I'm open to a better term than "safe keyboard" as it is too
close to the full-fledged "safe mode".
Does anyone know if this will cause any system problems using a USB
keyboard?
--
-- David (obrien at FreeBSD.org)
Index: beastie.4th
===================================================================
RCS file: /home/ncvs/src/sys/boot/forth/beastie.4th,v
retrieving revision 1.10
diff -u -r1.10 beastie.4th
--- beastie.4th 1 Dec 2004 07:17:57 -0000 1.10
+++ beastie.4th 25 Mar 2005 19:38:17 -0000
@@ -40,7 +40,7 @@
variable bootkey
variable bootacpikey
-variable bootusbkey
+variable bootsafekbkey
variable bootsafekey
variable bootverbosekey
variable bootsinglekey
@@ -165,9 +165,9 @@
printmenuitem ." Escape to loader prompt" escapekey !
s" arch-i386" environment? if
drop
- printmenuitem ." Boot FreeBSD with USB keyboard" bootusbkey !
+ printmenuitem ." Boot FreeBSD with Safe keyboard (includes USB)" bootsafekbkey !
else
- -2 bootusbkey !
+ -2 bootsafekbkey !
then
printmenuitem ." Reboot" rebootkey !
menuX @ 20 at-xy
@@ -234,8 +234,8 @@
then
0 boot
then
- dup bootusbkey @ = if
- s" 0x1" s" hint.atkbd.0.flags" setenv
+ dup bootsafekbkey @ = if
+ s" 0x9" s" hint.atkbd.0.flags" setenv
0 boot
then
dup bootsafekey @ = if
More information about the freebsd-current
mailing list