Subject: Re: CVS commit: pkgsrc/sysutils/apcupsd
To: None <pkgsrc-users@NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: pkgsrc-users
Date: 06/15/2007 22:27:18
On Fri, Jun 15, 2007 at 10:18:33PM +0200, Bernd Ernesti wrote:
> On Fri, Jun 15, 2007 at 10:13:32PM +0200, Manuel Bouyer wrote:
> > On Fri, Jun 15, 2007 at 10:00:14PM +0200, Bernd Ernesti wrote:
> [..]
> 
> > Are you talking about just the keywords, or a new script fully integrated with
> > the rc.d framework ? pkg/36192 is about a new script.
> 
> Like this:
> 
> --- platforms/netbsd/apcupsd.in.orig	2002-05-28 15:34:05.000000000 +0200
> +++ platforms/netbsd/apcupsd.in	2007-01-05 20:52:42.000000000 +0100
> @@ -6,6 +6,9 @@
>  # chkconfig: 2345 20 99
>  # description: apcupsd monitors power and takes action if necessary
>  #
> +# PROVIDE: apcupsd
> +# REQUIRE: DAEMON
> +#
>  APCPID=@PIDDIR@/apcupsd.pid
>  APCLOCK=@PIDDIR@/apcupsd.lock
>  DISTVER="@DISTVER@"

OK, this makes sense.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--