Skip to content
Permalink
Browse files

8130 loader: enable BE menu if we have BE list

Reviewed by: Yuri Pankov <yuripv@gmx.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
  • Loading branch information
tsoome authored and richlowe committed Apr 30, 2017
1 parent 760a3dc commit 2597f9c4ddb11e61fb39cb6ff30c2d262ab22bff
Showing with 2 additions and 2 deletions.
  1. +2 −2 usr/src/boot/sys/boot/forth/menu.rc
@@ -173,12 +173,12 @@ set optionstoggled_ansi[8]="^[1mD^[mebug....... ^[32;7mOn^[m"
\ BOOT ENVIRONMENT MENU
\

\ the BE list is read from pool/boot/menu.lst, the list in file
\ the BE list is read from [pool]/boot/menu.lst, the list in file
\ is ordered from oldest to most recent.
\ the BE menu will list entries from most recent to oldest,
\ so the first page in menu is last page in menu.lst

s" currdev" getenv drop 4 s" zfs:" compare 0= be-pages and [if]
be-pages [if]
set zfs_be_currpage=1
be-set-page \ set page data
set menuset_name3="bootenv"

0 comments on commit 2597f9c

Please sign in to comment.
You can’t perform that action at this time.