Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 2010 18:58:44 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r212915 - stable/7/sys/boot/forth
Message-ID:  <201009201858.o8KIwiAi063523@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009201858.o8KIwiAi063523>