Use `reboot -q' and `halt -q' to make it reboot faster.

This commit is contained in:
mycroft 2002-04-16 02:06:09 +00:00
parent e84a828ff1
commit 6b51f6a75b
3 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: menus.mi.en,v 1.49 2002/04/04 14:26:44 ad Exp $ */ /* $NetBSD: menus.mi.en,v 1.50 2002/04/16 02:06:09 mycroft Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -70,7 +70,7 @@ menu netbsd, title "NetBSD-@@VERSION@@ Install System",
option "Re-install sets or install additional sets", option "Re-install sets or install additional sets",
action { do_reinstall_sets(); }; action { do_reinstall_sets(); };
option "Reboot the computer", exit, option "Reboot the computer", exit,
action (endwin) { run_prog(0, NULL, "/sbin/reboot"); }; action (endwin) { run_prog(0, NULL, "/sbin/reboot -q"); };
option "Utility menu", sub menu utility; option "Utility menu", sub menu utility;
menu utility, title "NetBSD-@@VERSION@@ Utilities", exit; menu utility, title "NetBSD-@@VERSION@@ Utilities", exit;
@ -91,7 +91,7 @@ menu utility, title "NetBSD-@@VERSION@@ Utilities", exit;
/* option "Partition a disk"; XXX add later. */ /* option "Partition a disk"; XXX add later. */
option "Logging functions", action { do_logging(); }; option "Logging functions", action { do_logging(); };
option "Halt the system", exit, option "Halt the system", exit,
action { run_prog(0, NULL, "/sbin/halt"); }; action (endwin) { run_prog(0, NULL, "/sbin/halt -q"); };
menu yesno, title "yes or no?"; menu yesno, title "yes or no?";
option "Yes", exit, action {yesno = 1;}; option "Yes", exit, action {yesno = 1;};

View File

@ -1,4 +1,4 @@
/* $NetBSD: menus.mi.fr,v 1.33 2001/06/16 08:25:20 veego Exp $ */ /* $NetBSD: menus.mi.fr,v 1.34 2002/04/16 02:06:10 mycroft Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -69,7 +69,7 @@ menu netbsd, title "NetBSD-@@VERSION@@ Programme d'installation",
option "Réinstaller ou installer de nouveaux composants", option "Réinstaller ou installer de nouveaux composants",
action { do_reinstall_sets(); }; action { do_reinstall_sets(); };
option "Redémarrer l'ordinateur", exit, option "Redémarrer l'ordinateur", exit,
action (endwin) { run_prog(0, NULL, "/sbin/reboot"); }; action (endwin) { run_prog(0, NULL, "/sbin/reboot -q"); };
option "Menu utilitaire", sub menu utility; option "Menu utilitaire", sub menu utility;
menu utility, title "Utilitaires NetBSD-@@VERSION@@", exit; menu utility, title "Utilitaires NetBSD-@@VERSION@@", exit;
@ -87,7 +87,7 @@ menu utility, title "Utilitaires NetBSD-@@VERSION@@", exit;
/* option "Partitioner un disque"; XXX add later. */ /* option "Partitioner un disque"; XXX add later. */
option "Traces", action { do_logging(); }; option "Traces", action { do_logging(); };
option "Arrêter le système", exit, option "Arrêter le système", exit,
action (endwin) { run_prog(0, NULL, "/sbin/halt"); }; action (endwin) { run_prog(0, NULL, "/sbin/halt -q"); };
menu yesno, title "oui ou non?"; menu yesno, title "oui ou non?";
option "Oui", exit, action {yesno = 1;}; option "Oui", exit, action {yesno = 1;};

View File

@ -1,4 +1,4 @@
/* $NetBSD: menus.mi.pl,v 1.1 2002/04/09 19:47:57 hubertf Exp $ */ /* $NetBSD: menus.mi.pl,v 1.2 2002/04/16 02:06:10 mycroft Exp $ */
/* Based on english version: */ /* Based on english version: */
/* NetBSD: menus.mi.en,v 1.49 2002/04/04 14:26:44 ad Exp */ /* NetBSD: menus.mi.en,v 1.49 2002/04/04 14:26:44 ad Exp */
@ -72,7 +72,7 @@ menu netbsd, title "System Instalacyjny NetBSD-@@VERSION@@",
option "Przeinstaluj albo zainstaluj dodatkowe pakiety", option "Przeinstaluj albo zainstaluj dodatkowe pakiety",
action { do_reinstall_sets(); }; action { do_reinstall_sets(); };
option "Zrestartuj komputer", exit, option "Zrestartuj komputer", exit,
action (endwin) { run_prog(0, NULL, "/sbin/reboot"); }; action (endwin) { run_prog(0, NULL, "/sbin/reboot -q"); };
option "Menu Narzedziowe", sub menu utility; option "Menu Narzedziowe", sub menu utility;
menu utility, title "Narzedzia NetBSD-@@VERSION@@", exit; menu utility, title "Narzedzia NetBSD-@@VERSION@@", exit;
@ -93,7 +93,7 @@ menu utility, title "Narzedzia NetBSD-@@VERSION@@", exit;
/* option "Skonfiguruj dysk"; XXX add later. */ /* option "Skonfiguruj dysk"; XXX add later. */
option "Funkcje logowania", action { do_logging(); }; option "Funkcje logowania", action { do_logging(); };
option "Zatrzymaj system", exit, option "Zatrzymaj system", exit,
action { run_prog(0, NULL, "/sbin/halt"); }; action (endwin) { run_prog(0, NULL, "/sbin/halt -q"); };
menu yesno, title "tak lub nie?"; menu yesno, title "tak lub nie?";
option "Tak", exit, action {yesno = 1;}; option "Tak", exit, action {yesno = 1;};