From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 17 08:10:07 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9864416A420 for ; Fri, 17 Feb 2006 08:10:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 155D143D49 for ; Fri, 17 Feb 2006 08:10:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1H8A6hB002589 for ; Fri, 17 Feb 2006 08:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1H8A64o002588; Fri, 17 Feb 2006 08:10:06 GMT (envelope-from gnats) Resent-Date: Fri, 17 Feb 2006 08:10:06 GMT Resent-Message-Id: <200602170810.k1H8A64o002588@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mats Palmgren Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CD5516A420 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: misc/93466: /sbin/nextboot shouldn't be required (for custom builds) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2006 08:10:07 -0000 >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: