From nobody@FreeBSD.org  Thu Jan 18 17:19:40 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 2243916A412
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 18 Jan 2007 17:19:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 135E913C44C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 18 Jan 2007 17:19:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l0IHJdD6038782
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 18 Jan 2007 17:19:39 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l0IHJdTB038781;
	Thu, 18 Jan 2007 17:19:39 GMT
	(envelope-from nobody)
Message-Id: <200701181719.l0IHJdTB038781@www.freebsd.org>
Date: Thu, 18 Jan 2007 17:19:39 GMT
From: "Dr. Markus Waldeck"<waldeck@gmx.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /boot/default/loader.conf contains an incorrect comment
X-Send-Pr-Version: www-3.0

>Number:         108101
>Category:       docs
>Synopsis:       /boot/default/loader.conf contains an incorrect comment
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jhb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 18 17:20:19 GMT 2007
>Closed-Date:    Mon Oct 11 19:02:14 UTC 2010
>Last-Modified:  Mon Oct 11 19:02:14 UTC 2010
>Originator:     Dr. Markus Waldeck
>Release:        7.0-CURRENT-200701
>Organization:
>Environment:
FreeBSD fbh 7.0-CURRENT-200701 FreeBSD 7.0-CURRENT-200701 #0: Wed Jan 17 20:32:09 UTC 2007     
root@fbh:/usr/src/sys/i386/conf/CUSTOM i386
>Description:
/boot/default/loader.conf following lines:

#autoboot_delay="10"            # Delay in seconds before autobooting,
                                # set to -1 if you don't want user to be
                                # allowed to interrupt autoboot process and
                                # escape to the loader prompt

I changed autoboot_delay to "-1" got the following effect.
The boot process stops at the menu and waits until input.
and a user could select from the menu.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:

From: Brad Davis <brd@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/108101: /boot/default/loader.conf contains an incorrect
 comment
Date: Mon, 6 Sep 2010 09:12:57 -0600

 Confirmed.
 
 Trying to find out if we can fix the loader, rather than remove the
 comment.
 
 
 Regards,
 Brad Davis
State-Changed-From-To: open->patched 
State-Changed-By: jhb 
State-Changed-When: Wed Sep 8 20:11:12 UTC 2010 
State-Changed-Why:  
Fix for beastie.4th committed to HEAD. 


Responsible-Changed-From-To: freebsd-doc->jhb 
Responsible-Changed-By: jhb 
Responsible-Changed-When: Wed Sep 8 20:11:12 UTC 2010 
Responsible-Changed-Why:  
Fix for beastie.4th committed to HEAD. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108101 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/108101: commit references a PR
Date: Wed,  8 Sep 2010 20:10:44 +0000 (UTC)

 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
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: jhb 
State-Changed-When: Mon Oct 11 19:01:51 UTC 2010 
State-Changed-Why:  
Fixed in 7.x and later. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108101 
>Unformatted:
