Module Name: src Committed By: martin Date: Sat Nov 16 18:08:59 UTC 2019
Modified Files: src/usr.sbin/sysinst/arch/i386: menus.md Log Message: Make the bootblock selection menu more sane, pointed out by maxv To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/i386/menus.md Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/sysinst/arch/i386/menus.md diff -u src/usr.sbin/sysinst/arch/i386/menus.md:1.2 src/usr.sbin/sysinst/arch/i386/menus.md:1.3 --- src/usr.sbin/sysinst/arch/i386/menus.md:1.2 Thu Jun 20 00:43:56 2019 +++ src/usr.sbin/sysinst/arch/i386/menus.md Sat Nov 16 18:08:59 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: menus.md,v 1.2 2019/06/20 00:43:56 christos Exp $ */ +/* $NetBSD: menus.md,v 1.3 2019/11/16 18:08:59 martin Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -34,7 +34,8 @@ /* Menu definitions for sysinst. i386 version, machine dependent. */ -menu getboottype, title MSG_Bootblocks_selection, y=10, exit, no clear; +menu getboottype, title MSG_Bootblocks_selection, y=10, exit, no clear, + exitstring MSG_Continue; display action { msg_display(MSG_getboottype); switch (((struct x86_boot_params *)arg)->bp_consdev) { default: @@ -52,7 +53,7 @@ menu getboottype, title MSG_Bootblocks_s msg_display_add(MSG_console_unchanged); break; }}; - option MSG_Use_normal_bootblocks, action + option MSG_Use_normal_bootblocks, exit, action {((struct x86_boot_params *)arg)->bp_consdev = 0; m->cursel = 7;}; option MSG_Use_serial_com0, action {((struct x86_boot_params *)arg)->bp_consdev = 1; m->cursel = 5;}; @@ -63,7 +64,7 @@ menu getboottype, title MSG_Bootblocks_s option MSG_Use_serial_com3, action {((struct x86_boot_params *)arg)->bp_consdev = 4; m->cursel = 5;}; option MSG_serial_baud_rate, sub menu consolebaud; - option MSG_Use_existing_bootblocks, action + option MSG_Use_existing_bootblocks, exit, action {((struct x86_boot_params *)arg)->bp_consdev = ~0; m->cursel = 7;}; menu consolebaud, title MSG_serial_baud_rate, x=40, y=13;