Date: Sun, 27 Feb 2005 07:09:36 +0100 From: Pawel Worach <pawel.worach@telia.com> To: Nate Lawson <njl@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d powerd Message-ID: <42216420.5050605@telia.com> In-Reply-To: <200502262118.j1QLIsAq022855@repoman.freebsd.org> References: <200502262118.j1QLIsAq022855@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42216420.5050605>
