misc/93466: /sbin/nextboot shouldn't be required (for custom builds)

Mats Palmgren mats.palmgren at bredband.net
Fri Feb 17 00:10:07 PST 2006


>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:


More information about the freebsd-bugs mailing list