svn commit: r212915 - stable/7/sys/boot/forth

John Baldwin jhb at FreeBSD.org
Mon Sep 20 18:58:45 UTC 2010


Author: jhb
Date: Mon Sep 20 18:58:44 2010
New Revision: 212915
URL: http://svn.freebsd.org/changeset/base/212915

Log:
  MFC 212338:
  If autoboot_delay is set to -1, boot immediately without checking for
  a keypress to match the behavior of the loader.

Modified:
  stable/7/sys/boot/forth/beastie.4th
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/boot/forth/beastie.4th
==============================================================================
--- stable/7/sys/boot/forth/beastie.4th	Mon Sep 20 18:58:24 2010	(r212914)
+++ stable/7/sys/boot/forth/beastie.4th	Mon Sep 20 18:58:44 2010	(r212915)
@@ -240,7 +240,10 @@ set-current
 		drop
 		10
 	else
-		0 0 2swap >number drop drop drop
+		2dup s" -1" compare 0= if
+			0 boot
+		then
+		0 s>d 2swap >number 2drop drop
 	then
 	begin
 		dup tkey


More information about the svn-src-stable mailing list