From nobody@FreeBSD.org  Fri Feb 17 08:01:55 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6CD5516A420
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Feb 2006 08:01:55 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 228A243D48
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Feb 2006 08:01:55 +0000 (GMT)
	(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 k1H81sbO081839
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Feb 2006 08:01:54 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k1H81sBI081838;
	Fri, 17 Feb 2006 08:01:54 GMT
	(envelope-from nobody)
Message-Id: <200602170801.k1H81sBI081838@www.freebsd.org>
Date: Fri, 17 Feb 2006 08:01:54 GMT
From: Mats Palmgren <mats.palmgren@bredband.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /sbin/nextboot shouldn't be required (for custom builds)
X-Send-Pr-Version: www-2.3

>Number:         93466
>Category:       misc
>Synopsis:       /sbin/nextboot shouldn't be required (for custom builds)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 17 08:10:06 GMT 2006
>Closed-Date:    Fri Feb 17 08:35:03 GMT 2006
>Last-Modified:  Thu Oct 25 18:10:03 UTC 2007
>Originator:     Mats Palmgren
>Release:        
>Organization:
>Environment:
>Description:

>How-To-Repeat:
              
>Fix:
--- etc/rc.d/root       11 Feb 2006 03:56:12 -0000      1.7
+++ etc/rc.d/root       12 Feb 2006 09:47:34 -0000
@@ -33,7 +33,9 @@

        # If we booted a special kernel remove the record
        # so we will boot the default kernel next time.
-       /sbin/nextboot -D
+       if [ -x /sbin/nextboot ]; then
+               /sbin/nextboot -D
+       fi
 }

 load_rc_config $name

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Fri Feb 17 08:34:15 UTC 2006 
State-Changed-Why:  
Committed, thanks! 


Responsible-Changed-From-To: freebsd-bugs->ru 
Responsible-Changed-By: ru 
Responsible-Changed-When: Fri Feb 17 08:34:15 UTC 2006 
Responsible-Changed-Why:  

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/93466: commit references a PR
Date: Thu, 25 Oct 2007 18:02:15 +0000 (UTC)

 mtm         2007-10-25 18:02:10 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     etc/rc.d             root 
   Log:
   MFC: rev. 1.14
           Check if /sbin/nextboot exists before running it.
   
           PR:             93466
           Submitted by:   Mats Palmgren
   
   Revision  Changes    Path
   1.10.2.4  +3 -1      src/etc/rc.d/root
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
