Subject: Re: CVS commit: pkgsrc/sysutils/apcupsd
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: pkgsrc-users
Date: 06/15/2007 22:18:33
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@"
Bernd