Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Sep 2010 20:10:29 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r212338 - head/sys/boot/forth
Message-ID:  <201009082010.o88KATYJ070010@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Wed Sep  8 20:10:29 2010
New Revision: 212338
URL: http://svn.freebsd.org/changeset/base/212338

Log:
  If autoboot_delay is set to -1, boot immediately without checking for
  a keypress to match the behavior of the loader.
  
  PR:		docs/108101
  Submitted by:	Wayne Sierke  ws of au.dyndns.ws
  Tested by:	brd
  MFC after:	1 week

Modified:
  head/sys/boot/forth/beastie.4th

Modified: head/sys/boot/forth/beastie.4th
==============================================================================
--- head/sys/boot/forth/beastie.4th	Wed Sep  8 20:10:24 2010	(r212337)
+++ head/sys/boot/forth/beastie.4th	Wed Sep  8 20:10:29 2010	(r212338)
@@ -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?201009082010.o88KATYJ070010>