svn commit: r241363 - head/sys/boot/forth

Devin Teske dteske at FreeBSD.org
Tue Oct 9 01:31:04 UTC 2012


Author: dteske
Date: Tue Oct  9 01:31:03 2012
New Revision: 241363
URL: http://svn.freebsd.org/changeset/base/241363

Log:
  Make the "Options:" separator-text configurable by setting $menu_optionstext.
  
  Reviewed by:	eadler, adrian (co-mentor)
  Approved by:	adrian (co-mentor)
  MFC after:	3 days

Modified:
  head/sys/boot/forth/menu.4th

Modified: head/sys/boot/forth/menu.4th
==============================================================================
--- head/sys/boot/forth/menu.4th	Mon Oct  8 23:41:26 2012	(r241362)
+++ head/sys/boot/forth/menu.4th	Tue Oct  9 01:31:03 2012	(r241363)
@@ -488,7 +488,11 @@ create init_text8 255 allot
 			menurow @ 2 + menurow !
 			menurow @ menuY @ +
 			at-xy
-			." Options:"
+			s" menu_optionstext" getenv dup -1 <> if
+				type
+			else
+				drop ." Options:"
+			then
 		then
 
 		\ If this is the ACPI menu option, act accordingly.
@@ -972,6 +976,7 @@ create init_text8 255 allot
 
 	\ clear the "Options" menu separator flag
 	s" menu_options" unsetenv
+	s" menu_optionstext" unsetenv
 	0 menuoptions !
 
 ;


More information about the svn-src-head mailing list