summaryrefslogtreecommitdiffstats
path: root/sys/boot/forth/menu.rc
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2014-03-03 07:16:39 +0000
committerdteske <dteske@FreeBSD.org>2014-03-03 07:16:39 +0000
commitc6179218038fdc57a0de59ddf481672a3ce48e1f (patch)
tree1f3380572d5d2b80c4ca3831c7d8fc2391650a4e /sys/boot/forth/menu.rc
parent1719e3beff3a830dd8b8ffec78fb6b7812c63a16 (diff)
downloadFreeBSD-src-c6179218038fdc57a0de59ddf481672a3ce48e1f.zip
FreeBSD-src-c6179218038fdc57a0de59ddf481672a3ce48e1f.tar.gz
MFC r257650:
Defer loading of kernel and modules if the beastie menu is enabled. Add a kernel selection menu to the beastie menu. List of kernels is taken from `kernels' in loader.conf(5) as a space (or comma) separated list of names to display (up to 9). If not set, default value is "kernel kernel.old". Does not validate that kernels exist because the next enhancement will be to allow selection of the root device. Discussed on: -current
Diffstat (limited to 'sys/boot/forth/menu.rc')
-rw-r--r--sys/boot/forth/menu.rc12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/boot/forth/menu.rc b/sys/boot/forth/menu.rc
index 3e345f7..3d8bff9 100644
--- a/sys/boot/forth/menu.rc
+++ b/sys/boot/forth/menu.rc
@@ -55,10 +55,14 @@ set mainmenu_reboot
\
set mainmenu_options=5
-set mainmenu_caption[5]="Configure Boot [O]ptions..."
-set mainmenu_command[5]="2 goto_menu"
-set mainmenu_keycode[5]=111
-set mainansi_caption[5]="Configure Boot Options..."
+set mainmenu_kernel=5
+set mainmenu_command[5]="cycle_kernel"
+set mainmenu_keycode[5]=107
+
+set mainmenu_caption[6]="Configure Boot [O]ptions..."
+set mainmenu_command[6]="2 goto_menu"
+set mainmenu_keycode[6]=111
+set mainansi_caption[6]="Configure Boot Options..."
\
\ BOOT OPTIONS MENU
OpenPOWER on IntegriCloud