[PATCH] change beastie menu to support booting on R3000 laptop

From: David O'Brien <obrien_at_freebsd.org>
Date: Fri, 25 Mar 2005 11:41:12 -0800
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
_at__at_ -40,7 +40,7 _at__at_
 
 variable bootkey
 variable bootacpikey
-variable bootusbkey
+variable bootsafekbkey
 variable bootsafekey
 variable bootverbosekey
 variable bootsinglekey
_at__at_ -165,9 +165,9 _at__at_
 	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 _at_ 20 at-xy
_at__at_ -234,8 +234,8 _at__at_
 			then
 			0 boot
 		then
-		dup bootusbkey _at_ = if
-			s" 0x1" s" hint.atkbd.0.flags" setenv
+		dup bootsafekbkey _at_ = if
+			s" 0x9" s" hint.atkbd.0.flags" setenv
 			0 boot
 		then
 		dup bootsafekey _at_ = if
Received on Fri Mar 25 2005 - 18:41:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:30 UTC