Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Feb 2006 08:01:54 GMT
From:      Mats Palmgren <mats.palmgren@bredband.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/93466: /sbin/nextboot shouldn't be required (for custom builds)
Message-ID:  <200602170801.k1H81sBI081838@www.freebsd.org>
Resent-Message-ID: <200602170810.k1H8A64o002588@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93466
>Category:       misc
>Synopsis:       /sbin/nextboot shouldn't be required (for custom builds)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 17 08:10:06 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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