summaryrefslogtreecommitdiffstats
path: root/sys/boot/forth
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2012-10-09 01:31:03 +0000
committerdteske <dteske@FreeBSD.org>2012-10-09 01:31:03 +0000
commit49db11af3d580477f3e33a0ba73e78347c4e641d (patch)
treea9705dae9934272611cfe24967b0ae008a0200a9 /sys/boot/forth
parenta93c5f872768c1714c66521792fef4641d02a2fa (diff)
downloadFreeBSD-src-49db11af3d580477f3e33a0ba73e78347c4e641d.zip
FreeBSD-src-49db11af3d580477f3e33a0ba73e78347c4e641d.tar.gz
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
Diffstat (limited to 'sys/boot/forth')
-rw-r--r--sys/boot/forth/menu.4th7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/boot/forth/menu.4th b/sys/boot/forth/menu.4th
index 1059a12..3ba7683 100644
--- a/sys/boot/forth/menu.4th
+++ b/sys/boot/forth/menu.4th
@@ -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 !
;
OpenPOWER on IntegriCloud