aboutsummaryrefslogtreecommitdiff
path: root/sbin/reboot
diff options
context:
space:
mode:
authorPierre Beyssac <pb@FreeBSD.org>2002-03-23 19:40:27 +0000
committerPierre Beyssac <pb@FreeBSD.org>2002-03-23 19:40:27 +0000
commit038148d67811020a2e5541a79f00b76f306498b3 (patch)
treec9d0105aabd65927d1318e427e7dd555e6b81916 /sbin/reboot
parent7ee69ef245bd0c6c84a002245736e6ebb682820e (diff)
downloadsrc-038148d67811020a2e5541a79f00b76f306498b3.tar.gz
src-038148d67811020a2e5541a79f00b76f306498b3.zip
Add option -n to i386 boot2 to disallow boot interruption by keypress.
PR: i386/36016 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org> Reviewed by: rnordier MFC after: 1 week
Notes
Notes: svn path=/head/; revision=93044
Diffstat (limited to 'sbin/reboot')
-rw-r--r--sbin/reboot/boot_i386.86
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/reboot/boot_i386.8 b/sbin/reboot/boot_i386.8
index 81ab28ecc88b..3521fd06ce06 100644
--- a/sbin/reboot/boot_i386.8
+++ b/sbin/reboot/boot_i386.8
@@ -71,7 +71,9 @@ However, it is possible to dispense with the third stage altogether,
either by specifying a kernel name in the boot block parameter
file,
.Pa /boot.config ,
-or by hitting a key during a brief pause (while one of the characters
+or, unless option
+.Fl n
+is set, by hitting a key during a brief pause (while one of the characters
.Sy - ,
.Sy \e ,
.Sy \&| ,
@@ -230,6 +232,8 @@ option described here. See the man page for
for more details.
.It Fl m
mute the console.
+.It Fl n
+ignore key press to interrupt boot before loader(8) is invoked.
.It Fl P
probe the keyboard. If no keyboard is found, the
.Fl D