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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to