instead of defining a specific menu item for exit, use an 'exit' spec
with a custom string. This way the top-level exit is 'x', like the rest.
This commit is contained in:
parent
b12d2926fa
commit
01d9e08651
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: menus.mi.eng,v 1.29 1999/06/20 01:23:32 cgd Exp $ */
|
||||
/* $NetBSD: menus.mi.eng,v 1.30 1999/06/20 02:09:20 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -60,7 +60,8 @@ default x=20, y=12, no exit, scrollable;
|
||||
|
||||
allow dynamic menus;
|
||||
|
||||
menu netbsd, x=15, title "NetBSD-@@VERSION@@ Install System";
|
||||
menu netbsd, x=15, title "NetBSD-@@VERSION@@ Install System",
|
||||
exit, exitstring "Exit Install System";
|
||||
display action { toplevel(); };
|
||||
option "Install NetBSD to hard disk",
|
||||
action { do_install(); };
|
||||
@ -71,7 +72,6 @@ menu netbsd, x=15, title "NetBSD-@@VERSION@@ Install System";
|
||||
option "Reboot the computer", exit,
|
||||
action { run_prog(0, 0, NULL, "/sbin/reboot"); };
|
||||
option "Utility menu", sub menu utility;
|
||||
option "Exit Install System", exit;
|
||||
|
||||
menu utility, title "NetBSD-@@VERSION@@ Utility", exit;
|
||||
option "Run /bin/sh",
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: menus.mi.fr,v 1.18 1999/06/20 01:23:32 cgd Exp $ */
|
||||
/* $NetBSD: menus.mi.fr,v 1.19 1999/06/20 02:09:20 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -59,7 +59,8 @@ default x=20, y=12, no exit, scrollable;
|
||||
|
||||
allow dynamic menus;
|
||||
|
||||
menu netbsd, title "NetBSD-@@VERSION@@ Programme d'installation";
|
||||
menu netbsd, title "NetBSD-@@VERSION@@ Programme d'installation",
|
||||
exit, exitstring "Quitter le programme d'installation";
|
||||
display action { toplevel(); };
|
||||
option "Installation de NetBSD sur disque dur",
|
||||
action { do_install(); };
|
||||
@ -70,7 +71,6 @@ menu netbsd, title "NetBSD-@@VERSION@@ Programme d'installation";
|
||||
option "Redémarrer l'ordinateur", exit,
|
||||
action (endwin) { run_prog(0, 0, NULL, "/sbin/reboot"); };
|
||||
option "Menu utilitaire", sub menu utility;
|
||||
option "Quitter le programme d'installation", exit;
|
||||
|
||||
menu utility, title "Utilitaires NetBSD-@@VERSION@@", exit;
|
||||
/* option "test", action { run_prog(0, 1, NULL, "/bin/pwd"); }; */
|
||||
|
Loading…
x
Reference in New Issue
Block a user