pkgsrc/sysutils/apcupsd/patches/patch-ah
bouyer 564268b946 Use a more up-to-date config file as example
Add rc.d keywords to the startup script
both suggested by Bernd Ernesti.
2007-06-15 21:15:38 +00:00

14 lines
438 B
Text

$NetBSD: patch-ah,v 1.4 2007/06/15 21:15:39 bouyer Exp $
--- 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@"