From owner-freebsd-ports@FreeBSD.ORG Sat Jan 7 01:07:22 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D90316A420 for ; Sat, 7 Jan 2006 01:07:22 +0000 (GMT) (envelope-from mikej@rogers.com) Received: from smtp101.rog.mail.re2.yahoo.com (smtp101.rog.mail.re2.yahoo.com [206.190.36.79]) by mx1.FreeBSD.org (Postfix) with SMTP id 31E5343D46 for ; Sat, 7 Jan 2006 01:07:21 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 96841 invoked from network); 7 Jan 2006 01:07:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=vuip3BIXpzQydezDZij8OXI5jXZDXZusoAvqI4E89tgAnZFH9tCvjTy/EXLYkAkh+qevnpfYDzQ6x7pSMMUSmWKD3tsGkJ6kz9TlqGfhGLGmspKFLeqjpcHnaQghXQFcitWC4pwVHHr2rZDBuG+KXvmwSKvMVwjp0JpeZm4s97U= ; Received: from unknown (HELO ?70.30.133.184?) (mikej@rogers.com@70.30.133.184 with plain) by smtp101.rog.mail.re2.yahoo.com with SMTP; 7 Jan 2006 01:07:20 -0000 Message-ID: <43BF1454.2000600@rogers.com> Date: Fri, 06 Jan 2006 20:07:32 -0500 From: Mike Jakubik User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Doug Barton References: <43BDB619.5020104@rogers.com> <43BF02F1.6050007@FreeBSD.org> <43BF0B37.6000309@rogers.com> <43BF1291.2070209@FreeBSD.org> In-Reply-To: <43BF1291.2070209@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, martines@rochester.rr.com Subject: Re: FreeBSD Port: sysutils/smartmontools (more RCng problems) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2006 01:07:22 -0000 Doug Barton wrote: > I wasn't suggesting that you try the whole patch, but if you want to do > that, 'mv smartd.sh smartd.sh.in' after applying the patch. > > The only thing you actually need to test is whether changing the defaults > from hard coded to checking to see if they are already set does the > trick. > Brooks just reminded me that the variables should look like this > instead of > what I wrote: > > smartd_enable=${smartd_enable-NO} > smartd_pidfile=${smartd_pidfile-/var/run/smartd.pid} I figured id give it a test. I moved smartd.sh to smartd.sh.in and made the changes described above, smartd does startup on boot now.