From owner-cvs-src@FreeBSD.ORG Sun Feb 27 06:09:37 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CB0B16A4CE; Sun, 27 Feb 2005 06:09:37 +0000 (GMT) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE22643D41; Sun, 27 Feb 2005 06:09:36 +0000 (GMT) (envelope-from pawel.worach@telia.com) Received: from [127.0.0.1] (81.225.14.129) by pne-smtpout1-sn2.hy.skanova.net (7.1.026.7) (authenticated as u86211448) id 41E321670071A458; Sun, 27 Feb 2005 07:09:35 +0100 Message-ID: <42216420.5050605@telia.com> Date: Sun, 27 Feb 2005 07:09:36 +0100 From: Pawel Worach User-Agent: Mozilla Thunderbird 1.0 (X11/20050214) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <200502262118.j1QLIsAq022855@repoman.freebsd.org> In-Reply-To: <200502262118.j1QLIsAq022855@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d powerd X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2005 06:09:37 -0000 Nate Lawson wrote: > njl 2005-02-26 21:18:54 UTC > > FreeBSD src repository > > Added files: > etc/rc.d powerd > Log: > Add an rc script for powerd(8). > The "command_args" is redundant, it results in the program started as /usr/sbin/powerd -i 90 -r 50 -i 90 -r 50 if powerd_flags is set to "-i 90 -r 50". Nice work btw! --- etc/rc.d/powerd.orig Sat Feb 26 22:18:54 2005 +++ etc/rc.d/powerd Sun Feb 27 07:07:26 2005 @@ -15,6 +15,4 @@ command="/usr/sbin/powerd" load_rc_config $name -command_args="${powerd_flags}" - run_rc_command "$1" -- Pawel