summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut
diff options
context:
space:
mode:
authorghen <ghen>2006-08-15 12:07:15 +0000
committerghen <ghen>2006-08-15 12:07:15 +0000
commit3561d32d217238f7b13b4ed500ef8094efd43ddc (patch)
tree2a648037afdb81279b42c0d7993f261856e0a4cf /sysutils/ups-nut
parent30090f1c5ff4b07f642c109f3e899a695a7a36dc (diff)
downloadpkgsrc-3561d32d217238f7b13b4ed500ef8094efd43ddc.tar.gz
rc.d scripts: upsmon does not require upsd <running on the same machine>, but
still, upsd should start before upsmon when they are running on the same machine. The current setup (where upsmon.sh has REQUIRE: upsd) results in errors like "rcorder: requirement `upsd' in file `upsmon' has no providers." when you don't copy the upsd script to /etc/rc.d and set upsd=NO in /etc/rc.conf. Hence, remove REQUIRE: upsd from upsmon.sh and add BEFORE: upsmon to upsd.sh, as suggested by jnemeth on tech-userlevel@. Bump PKGREVISION.
Diffstat (limited to 'sysutils/ups-nut')
-rw-r--r--sysutils/ups-nut/Makefile4
-rw-r--r--sysutils/ups-nut/files/upsd.sh3
-rw-r--r--sysutils/ups-nut/files/upsmon.sh3
3 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/ups-nut/Makefile b/sysutils/ups-nut/Makefile
index a39b348ba37..f7b01083988 100644
--- a/sysutils/ups-nut/Makefile
+++ b/sysutils/ups-nut/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.44 2006/08/02 12:31:54 ghen Exp $
+# $NetBSD: Makefile,v 1.45 2006/08/15 12:07:15 ghen Exp $
#
DISTNAME= nut-2.0.3
PKGNAME= ups-nut-2.0.3
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://random.networkupstools.org/source/2.0/
diff --git a/sysutils/ups-nut/files/upsd.sh b/sysutils/ups-nut/files/upsd.sh
index a587cae0ccb..44c0e140470 100644
--- a/sysutils/ups-nut/files/upsd.sh
+++ b/sysutils/ups-nut/files/upsd.sh
@@ -1,9 +1,10 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: upsd.sh,v 1.6 2003/01/26 00:48:24 fredb Exp $
+# $NetBSD: upsd.sh,v 1.7 2006/08/15 12:07:15 ghen Exp $
#
# PROVIDE: upsd
# REQUIRE: upsdriver
+# BEFORE: upsmon
# KEYWORD: shutdown
if [ -f /etc/rc.subr ]
diff --git a/sysutils/ups-nut/files/upsmon.sh b/sysutils/ups-nut/files/upsmon.sh
index 5769ed8d21c..b191c7e97e3 100644
--- a/sysutils/ups-nut/files/upsmon.sh
+++ b/sysutils/ups-nut/files/upsmon.sh
@@ -1,9 +1,8 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: upsmon.sh,v 1.6 2004/02/15 13:14:25 lukem Exp $
+# $NetBSD: upsmon.sh,v 1.7 2006/08/15 12:07:15 ghen Exp $
#
# PROVIDE: upsmon
-# REQUIRE: upsd
# KEYWORD: shutdown
if [ -f /etc/rc.subr ]