Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sysinst/arch/i386 Make the bootblock selection menu...



details:   https://anonhg.NetBSD.org/src/rev/be30a93f9158
branches:  trunk
changeset: 846445:be30a93f9158
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Nov 16 18:08:59 2019 +0000

description:
Make the bootblock selection menu more sane, pointed out by maxv

diffstat:

 usr.sbin/sysinst/arch/i386/menus.md |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r c66ae911be1c -r be30a93f9158 usr.sbin/sysinst/arch/i386/menus.md
--- a/usr.sbin/sysinst/arch/i386/menus.md       Sat Nov 16 18:08:36 2019 +0000
+++ b/usr.sbin/sysinst/arch/i386/menus.md       Sat Nov 16 18:08:59 2019 +0000
@@ -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 @@
                        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 @@
        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;



Home | Main Index | Thread Index | Old Index